Hi,
I translated my library using libtool with the -version-info=5:0:0 parameter
and I installed it into /usr/local//lib using libtool. Then I translated
executable "prog" which was linked with this library. Readelf -d prog shows
0x0001 (NEEDED) Shared library: [libmylibrary.so.5]
Then I
Hi,
Here is a article: http://xahlee.org/UnixResource_dir/_/ldpath.html
Note also that using of RPATH is obsolete (DT_RPATH in ELF) due to it's
incorrect precedence to LD_LIBRARY_PATH.
RUNPATH (DT_RUNPATH) should be used instead. This is from man ld.so:
The shared libraries needed by the