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: Wed, 15 Jan 2020 08:45:15 +0100 Message-ID: <874kwxxiwk.fsf@ambrevar.xyz> References: <87v9pfm2fq.fsf@gmail.com> <87o8v7yp23.fsf@ambrevar.xyz> <87muapu3n4.fsf@gmail.com> 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]:40994) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irdNP-0005Rh-9G for bug-guix@gnu.org; Wed, 15 Jan 2020 02:46:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irdNL-0008Jm-7c for bug-guix@gnu.org; Wed, 15 Jan 2020 02:46:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irdNJ-0008HM-NY for bug-guix@gnu.org; Wed, 15 Jan 2020 02:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irdNJ-0007R6-Kk for bug-guix@gnu.org; Wed, 15 Jan 2020 02:46:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87muapu3n4.fsf@gmail.com> 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 , Konrad Hinsen Cc: 39079@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Evan Straw writes: > This library depends on > the following other libraries, as reported by `ldd > /usr/lib/x86_64-linux-gnu/libcurl.so.4`: > > --8<---------------cut here---------------start------------->8--- > linux-vdso.so.1 (0x00007ffd5f393000) > libnghttp2.so.14 =3D> /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007= f941aae8000) > libidn2.so.0 =3D> /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f941aac8= 000) ... > --8<---------------cut here---------------end--------------->8--- Which "ldd" did you use? Ubuntu's or Guix'? Where did you run it? My only guess is what Konrad said: the libcurl library references its dependencies with relative path (which ldd does _not_ display) and the Guix loaded knows nothing about /usr/lib/x86_64-linux-gnu. Try exporting LD_LIBRARY_PATH=3D/usr/lib/x86_64-linux-gnu in the environment in which you run SBCL.=20 =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4ewwsACgkQm9z0l6S7 zH88Ugf6AmlZt9Ztta4dKD0D/y8CiehASsDv9KqKCSu9oi7KX/jf04pPZaGpAsSZ 3rOb9XDhnTdLSCuRuxtj1CM0D20hiQKgt01mmQj4pM1rGbRO0LE0UmUx2nxdynif HaIL0knnfLCTFWE7r4PgnPDJaPCTr1hxZfnUVoRGWFlit+Gz58vH6PwttM2Fdtv+ viseyOPfmQjMbEZbWx/Y3aMCYUKxkgJG5jOrQZAIJh9zhwg7FOpl6GNg9Q1oP1d5 mY/Cb+I5fknq4Ra/1xox3delxkDb3L2/zpexhCKDvI1yPBw1848kmZ5xBywumFZP tf4RLNdC4Qe6Ml6CB2vaoYvcB7MUqw== =oc8k -----END PGP SIGNATURE----- --=-=-=--