From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39079: SBCL CFFI from Guix unable to find dynamic libraries Date: Sat, 18 Jan 2020 17:17:58 +0100 Message-ID: <87zhekvivd.fsf@gnu.org> References: <87v9pfm2fq.fsf@gmail.com> <87o8v7yp23.fsf@ambrevar.xyz> <87muapu3n4.fsf@gmail.com> <87r1zxydrm.fsf@gnu.org> <87ftgdf38f.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33757) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isqoQ-0003IY-Q0 for bug-guix@gnu.org; Sat, 18 Jan 2020 11:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isqoP-0004of-UR for bug-guix@gnu.org; Sat, 18 Jan 2020 11:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isqoP-0004oY-RO for bug-guix@gnu.org; Sat, 18 Jan 2020 11:19:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isqoP-0007Bx-OA for bug-guix@gnu.org; Sat, 18 Jan 2020 11:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ftgdf38f.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sat, 18 Jan 2020 11:50:08 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Pierre Neidhardt Cc: 39079@debbugs.gnu.org, Evan Straw Hi, Pierre Neidhardt skribis: > Ludovic Court=C3=A8s writes: > >> That cannot work: this libcurl.so is linked against a different libc >> (among other things) than the =E2=80=98sbcl=E2=80=99 program from Guix, = so trying to >> load it in a running Guix =E2=80=98sbcl=E2=80=99 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=E2=80=99re lucky, but as a rule of thum= b, you should assume that it won=E2=80=99t. >> What would work instead is loading Guix=E2=80=99 libcurl.so. I suppose = you >> could do that by removing /usr/lib from =E2=80=98*foreign-library-direct= ories*=E2=80=99. > > 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=E2=80=99t even try that. :-) Ludo=E2=80=99.