Create shared library symbolic links when crystal interpreter does not work in crystal 1.4.0
kojix2

kojix2 @kojix2

About: Ruby & Crystal & Bioinformatics

Location:
Japan
Joined:
Jan 17, 2019

Create shared library symbolic links when crystal interpreter does not work in crystal 1.4.0

Publish Date: Apr 16 '22
5 0

When I run crystal i on Ubuntu impish, I get the following message.

  • librt.so is missing
  • libdl.so is missing

These libraries are actually already installed.

Go to the lib directory.

cd /lib/x86_64-linux-gnu

Search for the necessary files.

find librt*
find libdl*

Create symbolic links.

sudo ln -s librt.so.1 librt.so
sudo ln -s libdl.so.2 libdl.so

Now bin/crystal i is running.

Good luck!

Comments 0 total

    Add comment