> 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
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to