0.5.0: Broken dynamic linking with custom --libdir
Brought to you by:
steunix
I've tried building pfqueue with
--libdir=/usr/lib/pfqueue, and resulting binary
couldn't link to libpfqueue.so:
# ldd /usr/bin/pfqueue
linux-gate.so.1 => (0xffffe000)
libpfqueue.so.0 => not found
libdl.so.2 => /lib/libdl.so.2 (0xb7fbd000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7fab000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7f6b000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e57000)
/lib/ld-linux.so.2 (0xb7feb000)
After exporting LD_LIBRARY_PATH="/usr/lib/pfqueue", the
application runs fine.
Logged In: YES
user_id=729093
Yes, Makefile.am is lacking that: will fix it in 0.5.1.
Logged In: YES
user_id=729093
Uhm, errata corridge: here it works for me; can you send me the full
output of the 'make install' (after a make clean; make distclean)?
Logged In: YES
user_id=861633
Actually, it turned out to be a PEBKAC - I had a stray
pfqueue binary lying in /usr/local/bin that was being used.
Sorry for bothering you.