linking against libbfd without modify LD_LIBRARY_PATH
Mike Frysinger
vapier@gentoo.org
Sun Dec 4 17:05:00 GMT 2011
More information about the Binutils mailing list
Sun Dec 4 17:05:00 GMT 2011
- Previous message (by thread): linking against libbfd without modify LD_LIBRARY_PATH
- Next message (by thread): linking against libbfd without modify LD_LIBRARY_PATH
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sunday 04 December 2011 02:51:04 Baojun Wang wrote: > When I create my own application liked to libbfd (-lbfd), ``ldd myapp'' > shows: > > $ ldd myapp > linux-vdso.so.1 => (0x00007fff985ff000) > libbfd-2.21.1.so => not found > libc.so.6 => /lib64/libc.so.6 (0x00007f26dc31a000) > > I need set LD_LIBRARY_PATH to let ``myapp'' runs normally. this is a bug in your distro. you should file a bug with them. > But for ``objdump'', why it doesn't need to do so? it has RPATH entries for it: readelf -d `which objdump` | grep RPATH -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <https://sourceware.org/pipermail/binutils/attachments/20111204/7fbc6be8/attachment.sig>
- Previous message (by thread): linking against libbfd without modify LD_LIBRARY_PATH
- Next message (by thread): linking against libbfd without modify LD_LIBRARY_PATH
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list