GNU bug report logs - #39079
SBCL CFFI from Guix unable to find dynamic libraries

Previous Next

Package: guix;

Reported by: Evan Straw <evan.straw99 <at> gmail.com>

Date: Sat, 11 Jan 2020 03:39:02 UTC

Severity: normal

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

Full log


Message #52 received at 39079 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Evan Straw <evan.straw99 <at> gmail.com>
Cc: 39079 <at> debbugs.gnu.org, Konrad Hinsen <konrad.hinsen <at> fastmail.net>,
 Pierre Neidhardt <mail <at> ambrevar.xyz>
Subject: Re: bug#39079: SBCL CFFI from Guix unable to find dynamic libraries
Date: Fri, 17 Jan 2020 22:27:41 +0100
Hi Evan,

Evan Straw <evan.straw99 <at> gmail.com> skribis:

> I am attempting to load "/usr/lib/x86_64-linux-gnu/libcurl.so.4" since
> the tutorial for CFFI starts by loading libcurl. This library depends on
> the following other libraries, as reported by `ldd
> /usr/lib/x86_64-linux-gnu/libcurl.so.4`:

That cannot work: this libcurl.so is linked against a different libc
(among other things) than the ‘sbcl’ program from Guix, so trying to
load it in a running Guix ‘sbcl’ is bound to fail.

What would work instead is loading Guix’ libcurl.so.  I suppose you
could do that by removing /usr/lib from ‘*foreign-library-directories*’.

HTH!

Ludo’.




This bug report was last modified 5 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.