Skip to content

Instantly share code, notes, and snippets.

@dukenmarga
Created February 21, 2025 07:09
Show Gist options
  • Select an option

  • Save dukenmarga/9287fb255d3a2459ffd67854ab7dc8ec to your computer and use it in GitHub Desktop.

Select an option

Save dukenmarga/9287fb255d3a2459ffd67854ab7dc8ec to your computer and use it in GitHub Desktop.
libguile-3.0.so.1 not found after compiling guile source code

Problem

We downloaded the Guile source code and compile it by running:

./configure
make
sudo make install
rehash

Then, when we call guile, it says:

guile: error while loading shared libraries: libguile-3.0.so.1: cannot open shared object file: No such file or directory

Solution

After compiling, make sure libguile-3.0.so.1 is available in the installed directory, usually in /usr/local. Then go to /etc/ld.so.conf.d, create new file for example guile.conf and add this line:

/usr/local/lib64

Then run command:

sudo ldconfig

Now, we can run guile executable file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment