iyzs...@member.fsf.org (宋文武) skribis:

> The `dynamic-link` will search and dlopen the shared library.  The guile
> from guix doesn’t search common places like ‘/usr/lib’, so you need to
> set the environment variable `LD_LIBRARY_PATH` or `LTDL_LIBRARY_PATH`
> explicitly to the directory contains `libm.so`.

‘LTDL_LIBRARY_PATH’ is safer in that it only affects software that uses
libltdl’s dlopen facility.

> by the way, since guile is linked with libm.so, we can just use
> `(dynamic-link)` here.

Yup!

Ludo’.

Reply via email to