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


View this message in rfc822 format

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

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

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> 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.
>
> Are you sure?  I've done this many time before and it worked.

It might work to some extent if you’re lucky, but as a rule of thumb,
you should assume that it won’t.

>> What would work instead is loading Guix’ libcurl.so.  I suppose you
>> could do that by removing /usr/lib from ‘*foreign-library-directories*’.
>
> I think there is a misunderstanding :)
> The original question was specifically about loading a .so from the
> foreign distribution, so this would do it :p

My bad!  Well I guess my answer is: don’t even try that.  :-)

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.