John Reiser writes:

> How should I run ldd on a built, but non-installed, .so library?
> What I'm looking for is automatic setting of LD_LIBRARY_PATH
> before invoking ldd.  I want the ldd output for its identification
> of .soname and some path to each DT_NEEDED module, and the
> absolute address at which each library is loaded.

If you do that then you lose all portability that libtool gives you, so
you might as well not use it.  You should be able to extract dependency
information from the *.la file.  If you need the absolute path of the
library for run-time dynamic loading, consider using libltdl.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to