Hi Xie Pan,

On Tue, Mar 25 2025, Pan Xie wrote:

> *this* chez scheme can not load system shared library correctly:

I have never used Chez Scheme but suspect you have to set
LD_LIBRARY_PATH.  In Bash, it might look like something like this:

  $ LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH chez-scheme-executable

Guix refers to prerequisites by absolute paths into the store whenever
possible, including for shared libraries.  Installing prerequisites into
a profile, as you seem to have done, and then finding them in /usr/lib
is known as "propagating" a prerequisite.  It can be convenient, but
people generally consider it subobtimal, because it tends to restrict
the versions usable at the same time (although shared libraries employ a
lesser versioning scheme of their own).

I hope I was of help.  Please stick around for answers from more
competent contributors.

Kind regards
Felix

Reply via email to