#2 0.5.0: Broken dynamic linking with custom --libdir

closed-invalid
None
5
2005-09-01
2005-09-01
No

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.

Discussion

  • Stefano Rivoir

    Stefano Rivoir - 2005-09-01

    Logged In: YES
    user_id=729093

    Yes, Makefile.am is lacking that: will fix it in 0.5.1.

     
  • Stefano Rivoir

    Stefano Rivoir - 2005-09-01
    • assigned_to: nobody --> steunix
     
  • Stefano Rivoir

    Stefano Rivoir - 2005-09-01

    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)?

     
  • Luke Skywalker

    Luke Skywalker - 2005-09-01

    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.

     
  • Luke Skywalker

    Luke Skywalker - 2005-09-01
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks