Dear André,
yours and Pan message suggest you are using guix on a foreign distro.
That would also mean, that the libraries you find in /usr/lib are the
ones from the foreign system. As such, these libraries will have been
compiled+linked with different tools/versions than the ones in guix. I
believe this makes them incompatible and leads to the dreaded
"Segmentation fault" error.
I know no solution to mix+match libraries from guix with those of your
distro. It seems really all or nothing.
Hope this clears things up,
Sebastian
On 3/26/25 10:51, guix-devel-requ...@gnu.org wrote:
Date: Wed, 26 Mar 2025 10:23:19 +0200
From: André A. Gomes<andremegaf...@gmail.com>
To: Pan Xie<xie...@skyguard.com.cn>
Cc: Felix Lechner<felix.lech...@lease-up.com>,help-g...@gnu.org,
guix-devel@gnu.org
Subject: Re: chez scheme can't load system shared library
Message-ID:<871pukurns....@gmail.com>
Content-Type: text/plain; charset=utf-8
Pan Xie<xie...@skyguard.com.cn> writes:
Thanks for your response. Unfortunately, it does not work:
`LD_LIBRARY_PATH' is empty in my shell:
$ echo $LD_LIBRARY_PATH
scheme can't start up with LD_LIBRARY_PATH set:
$ LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH scheme
Segmentation fault (core dumped)
$ LD_LIBRARY_PATH='/usr/lib' scheme
Segmentation fault (core dumped)
The question by Pan has been answered but I have questions on this topic:
What's the cause of this segmentation fault on Guix?
Is there a way to use chez scheme installed via Guix to see the shared
library at /usr/lib (instead of installing the package that provides it
it via Guix)?
Thanks.
-- André A. Gomes "You cannot even find the ruins..."