[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packages with libraries and binaries
From: |
Ludovic Courtès |
Subject: |
Re: Packages with libraries and binaries |
Date: |
Sat, 05 Oct 2013 14:53:56 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> And can I use the same code for libraries using other libraries of the same
> package, by changing "bin" to "lib" in the code snippet?
>
> For instance, one has
> $ ldd /nix/store/bplvsx34rzpn85vly086l0jhmhil9ncg-icu4c-50.1.1/lib/libicuuc.so
> ...
> libicudata.so.50 => not found
> ...
>
> where the unfound library resides in the same directory.
Yes, in this case the RUNPATH of libicuuc.so needs to be augmented to
contain $out/lib, where libicudata.so lives.
Ludo’.