[Nix-dev] trying patchelf
Marc Weber
marco-oweber at gmx.de
Wed Jan 21 10:26:45 CET 2009
> When I --set-rpath to
> /nix/store/1gzfqw9vxd7ygzpn97nj8rq3avfzlcan-gcc-3.3.6/lib/, it finds
> the gcc libs, but not fontconfig. If I set it to the libfontconfig
> store path, it cannot find the gcc libs.
> How can I get that binary working?
Hi Lluís,
you can set more than one rpath at once:
patchelf --set-rpath path-foo:path-bar
or such should work.
I bet you can find some examples in nixpkgs. Grep for --set-rpath
If you don't know it yet: You can use readelf to explone the rpath
setting of a binary
Sincerly
Marc Weber
More information about the nix-dev
mailing list