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: Mon, 13 Jan 2020 23:22:28 +0100 Message-ID: <87o8v7yp23.fsf@ambrevar.xyz> References: <87v9pfm2fq.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]:42940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir86x-0002xB-5g for bug-guix@gnu.org; Mon, 13 Jan 2020 17:23:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir86w-0000Qt-2E for bug-guix@gnu.org; Mon, 13 Jan 2020 17:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ir86v-0000Ql-VJ for bug-guix@gnu.org; Mon, 13 Jan 2020 17:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ir86v-0003rt-QX for bug-guix@gnu.org; Mon, 13 Jan 2020 17:23:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87v9pfm2fq.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 Cc: 39079@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! Evan Straw writes: > However, the thing that still doesn't appear to be working right is loadi= ng > libraries from the foreign distro. I get the same behavior as before when > attempting to load a library under the foreign distro's library directory > (/usr/lib/x86_64-linux-gnu): It loads the library itself but fails upon t= rying > to load any dependencies, even if they are in the same directory. What are "dependencies" here? Can you provide a full recipe of what you are trying to do, including your .sbclrc and the Lisp code snippets you've run to test this? > Ideally, I would just install the libraries I need from Guix, but I > specifically want to interface with a library from the system, in this > case PulseAudio (I've just been using libcurl as a test to make sure > it works). Does it work for the libraries installed with Guix? > I did some investigation and tried both installing just CFFI from another > source, and then SBCL itself. Installing CFFI from Quicklisp but keeping = SBCL > from Guix gave the same behavior and was unable to load dependencies of t= he > library. Installing SBCL from APT and CFFI from Quicklisp was able to loa= d the > library and all dependencies with no issues. From this, I'm wondering if = it's a > problem with SBCL itself instead of CFFI? This seems to be a red herring, as Guix does not change how CFFI loads libraries. The only thing that changes is where the libraries are found with Guix packages. Let's see what we can reproduce with your examples! :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4c7aQACgkQm9z0l6S7 zH8bmAf/dhAFerSPHxk4hbe35ZQrakCJFAYN5R6A83d/30WBMeR+tc4wobc/yMN3 Uv27bQMx3b1H2vdmQ6gV+5KLqkpXcY4pizZvq9FMDJYV9ZnORuLjU2bQM0/KwCDM lB5/ZoGNxBTdOBRi2Wnq+xvWWVYb7VqTMaFIYEK2M/jOE9aeKpxfr9YljkAV4som VS6Zif3tR55Z58j+VSUIwCa4dVy57d57V36716B3FEirzUKwyaQb6Gcy5azBkV5H ZWWv+7dUH2wPPw4v4FREteG9AsZOa5AEtuFd8BW8oxrMdsvSihC1qjMD/N5SDxao isQZzaB5NfNxyp+scp3O8HniUjFA5w== =tAb9 -----END PGP SIGNATURE----- --=-=-=--