[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to run ldd on non-installed .so ?
From: |
John Reiser |
Subject: |
how to run ldd on non-installed .so ? |
Date: |
Wed, 13 Jun 2001 13:24:04 -0700 |
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
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.
"libtool --mode=execute ldd .libs/foo.so" eventually tries to
eval 'exec $cmd "/"'
exec ldd /
because both $progdir and $program are empty strings.
A similar fate awaits both
libtool --mode=execute ldd .libs/foo.la
and
libtool --mode=execute -dlopen .libs/foo.la ldd .libs/foo.so
Hints?
--
John Reiser, address@hidden
- how to run ldd on non-installed .so ?,
John Reiser <=