DEV Community

kojix2
kojix2

Posted on

Create shared library symbolic links when crystal interpreter does not work in crystal 1.4.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!

Top comments (0)