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: Fri, 17 Jan 2020 22:27:41 +0100 Message-ID: <87r1zxydrm.fsf@gnu.org> References: <87v9pfm2fq.fsf@gmail.com> <87o8v7yp23.fsf@ambrevar.xyz> <87muapu3n4.fsf@gmail.com> 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]:52257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isZ9u-0000oD-Te for bug-guix@gnu.org; Fri, 17 Jan 2020 16:28:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isZ9t-0002s5-Vd for bug-guix@gnu.org; Fri, 17 Jan 2020 16:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isZ9t-0002rl-Sf for bug-guix@gnu.org; Fri, 17 Jan 2020 16:28:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isZ9t-0000qi-P8 for bug-guix@gnu.org; Fri, 17 Jan 2020 16:28:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87muapu3n4.fsf@gmail.com> (Evan Straw's message of "Tue, 14 Jan 2020 13:30:55 -0800") 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: Evan Straw Cc: 39079@debbugs.gnu.org, Pierre Neidhardt Hi Evan, Evan Straw 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 =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. 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-directori= es*=E2=80=99. HTH! Ludo=E2=80=99.