From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#39079: SBCL CFFI from Guix unable to find dynamic libraries Date: Sat, 18 Jan 2020 11:50:08 +0100 Message-ID: <87ftgdf38f.fsf@ambrevar.xyz> References: <87v9pfm2fq.fsf@gmail.com> <87o8v7yp23.fsf@ambrevar.xyz> <87muapu3n4.fsf@gmail.com> <87r1zxydrm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48807) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1islh2-0002Tu-HH for bug-guix@gnu.org; Sat, 18 Jan 2020 05:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1islh0-0003a9-Ju for bug-guix@gnu.org; Sat, 18 Jan 2020 05:51:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1islh0-0003Zf-GA for bug-guix@gnu.org; Sat, 18 Jan 2020 05:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1islh0-0000rT-FT for bug-guix@gnu.org; Sat, 18 Jan 2020 05:51:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87r1zxydrm.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Evan Straw Cc: 39079@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, s= o 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. > What would work instead is loading Guix=E2=80=99 libcurl.so. I suppose y= ou > could do that by removing /usr/lib from =E2=80=98*foreign-library-directo= ries*=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 Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4i4uAACgkQm9z0l6S7 zH8fnAgAhnGEA/agnJoyqtNo92oklTy/Y9MGOLuGtSwBC5n2kZHW5Q6GhOYPh2qx /dGszieR1fHz8wubPt6qE/aE5RbuSkmNgT8Da5KB/N+Y4giNQClz3SIgxb8WnY8F avWikxB/2oAskPl87KR2cga+iht5+4oHNbq7Q0QYuESj/vs5H+dKY6j9Wu1JZcqp S7nJxFb9deN7Zkkndw6doGS2hrOL2hs/7JwQVbpqYejSKVNaAolFK6dUJws6v/P4 N6a5mCAahO/7vmDGjxUzV9WHBWTlFNNcFs3C2tIKrsWVBKsbbZpTm23oxm4oj8sZ z10pxBQ3ZOeSZwt9jrIxPOwfeOs9fg== =Q05v -----END PGP SIGNATURE----- --=-=-=--