On 31.05.13 09:28, Jörn Clausen wrote:
Luckily, libproxy.so does not seem to need any other library from pkgsrc, otherwise the run time linker would have a hard time finding it. So maybe in this case this is a fix, but it is not a general solution that would work in other situations.
I have to revert that statement:
$ ldd /usr/pkgsrc/20130422/bin/proxy
libproxy.so.1 => (file not found)
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libm.so.2 => /lib/libm.so.2
At least the shared library should work:
$ pkg-config --libs libproxy-1.0
-L/usr/pkgsrc/20130422/lib -Wl,-R/usr/pkgsrc/20130422/lib -lproxy
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld