Hey everyone, I hope this is the right place to ask this.

I'm trying to build and install Guile from source on an Ubuntu machine. I
followed the instructions from
https://www.gnu.org/software/guile/manual/html_node/Obtaining-and-Installing-Guile.html
with the only difference being running `sudo make install` instead of `make
install`. Each stage finishes, and at the end, I see the libraries in
/usr/local/lib, and the executable in /usr/local/bin. But when I run `make
installcheck`, it looks like it can't find the header. When running `guile`
it also errors out with the same message. The full output from `make
installcheck` is below, followed by the `guile` output, followed by the
/usr/local file listing.

```
zymus@abyss:~/src/guile-3.0.11$ make installcheck
Making installcheck in lib
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/lib'
make[2]: Entering directory '/home/zymus/src/guile-3.0.11/lib'
make[2]: Nothing to be done for 'installcheck-am'.
make[2]: Leaving directory '/home/zymus/src/guile-3.0.11/lib'
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/lib'
Making installcheck in meta
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/meta'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/meta'
Making installcheck in libguile
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/libguile'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/libguile'
Making installcheck in module
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/module'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/module'
Making installcheck in stage0
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/stage0'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/stage0'
Making installcheck in stage1
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/stage1'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/stage1'
Making installcheck in stage2
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/stage2'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/stage2'
Making installcheck in guile-readline
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/guile-readline'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/guile-readline'
Making installcheck in examples
make[1]: Entering directory '/home/zymus/src/guile-3.0.11/examples'
/usr/bin/mkdir -p box
gcc `PATH=/usr/local/bin:$PATH PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
/usr/local/bin/guile-config compile` -c box/box.c -o box/box.o
/usr/local/bin/guile: error while loading shared libraries:
libguile-3.0.so.1: cannot open shared object file: No such file or directory
box/box.c:23:10: fatal error: libguile.h: No such file or directory
   23 | #include <libguile.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:2067: box/box.o] Error 1
make[1]: Leaving directory '/home/zymus/src/guile-3.0.11/examples'
make: *** [Makefile:2193: installcheck-recursive] Error 1
```

```
zymus@abyss:~/src/guile-3.0.11$ guile
guile: error while loading shared libraries: libguile-3.0.so.1: cannot open
shared object file: No such file or directory



*``````*zymus@abyss:/usr/local/lib$ ls -l
total 39996
drwxr-xr-x 3 root root     4096 May 12 19:53 guile
-rw-r--r-- 1 root root 23656936 May 12 20:44 libguile-3.0.a
-rwxr-xr-x 1 root root     1060 May 12 20:44 libguile-3.0.la
lrwxrwxrwx 1 root root       21 May 12 20:44 libguile-3.0.so ->
libguile-3.0.so.1.7.1
lrwxrwxrwx 1 root root       21 May 12 20:44 libguile-3.0.so.1 ->
libguile-3.0.so.1.7.1
-rwxr-xr-x 1 root root  6128424 May 12 20:44 libguile-3.0.so.1.7.1
-rw-r--r-- 1 root root    17453 May 12 20:44 libguile-3.0.so.1.7.1-gdb.scm
-rw-r--r-- 1 root root  7388858 May 12 12:58 libunistring.a
-rwxr-xr-x 1 root root      951 May 12 12:58 libunistring.la
lrwxrwxrwx 1 root root       21 May 12 12:58 libunistring.so ->
libunistring.so.5.2.1
lrwxrwxrwx 1 root root       21 May 12 12:58 libunistring.so.5 ->
libunistring.so.5.2.1
-rwxr-xr-x 1 root root  3734896 May 12 12:58 libunistring.so.5.2.1
drwxr-xr-x 2 root root     4096 May 12 20:44 pkgconfig
drwxr-xr-x 3 root root     4096 Feb 14  2025 python3.10
```

```
zymus@abyss:/usr/local/bin$ ls -l
total 40
-rwxr-xr-x 1 root root  2874 May 12 20:44 guild
-rwxr-xr-x 1 root root 22160 May 12 20:44 guile
-rwxr-xr-x 1 root root  6806 May 12 20:44 guile-config
-rwxr-xr-x 1 root root  3224 May 12 20:44 guile-snarf
lrwxrwxrwx 1 root root     5 May 12 20:44 guile-tools -> guild
```

```
zymus@abyss:/usr/local/include/guile/3.0$ ls -l
total 12
drwxr-xr-x 2 root root 4096 May 12 20:44 libguile
-rw-r--r-- 1 root root 3906 May 12 20:44 libguile.h
-rw-r--r-- 1 root root 2189 May 12 20:44 readline.h
```

Reply via email to