From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Packages with libraries and binaries Date: Sun, 22 Sep 2013 14:06:24 +0200 Message-ID: <20130922120624.GA4534@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiQt-0006ct-Ih for guix-devel@gnu.org; Sun, 22 Sep 2013 08:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNiQm-0006Vr-84 for guix-devel@gnu.org; Sun, 22 Sep 2013 08:06:35 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:55536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiQl-0006Vf-VX for guix-devel@gnu.org; Sun, 22 Sep 2013 08:06:28 -0400 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org When trying to use cdparanoia, I noticed the following: $ ldd `which cdparanoia` linux-vdso.so.1 => (0x00007fff1e9dd000) libcdda_interface.so.0 => not found libcdda_paranoia.so.0 => not found libm.so.6 => /nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libm.so.6 (0x00007fb37355b000) librt.so.1 => /nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/librt.so.1 (0x00007fb373353000) libc.so.6 => /nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/libc.so.6 (0x00007fb372fa5000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb372d89000) /nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007fb373877000) The two missing libraries are part of the package itself; apparently, they do not get encoded into the rpath. Could this be handled somehow by the build system? Should it be done in the package definition? Or should I set an LD_LIBRARY_PATH? Andreas