Bug 198186 - ldd -r reports undefined symbols
Summary: ldd -r reports undefined symbols
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: db4
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: ldd-r-kh
TreeView+ depends on / blocked
 
Reported: 2006-07-10 13:16 UTC by Karsten Hopp
Modified: 2013-07-02 23:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-07-10 13:59:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2006-07-10 13:16:28 UTC
Note: ldd can't handle dlopen'ed dependent libraries and these unresolved symbols
might be resolved by those. But this needs to be checked.
Reproducer: rpm -ql <packagename>| grep lib.*so | xargs ldd -r


db4-tcl-4.3.29-4
undefined symbol: Tcl_SetObjLength      (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_ListObjGetElements        (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_AddErrorInfo      (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_NewByteArrayObj   (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_PkgProvide        (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_GetStringFromObj  (/usr/lib/libdb_tcl-4.3.so)
undefined symbol: Tcl_GetByteArrayFromObj       (/usr/lib/libdb_tcl-4.3.so)
...
...

Comment 1 Jindrich Novy 2006-07-10 13:48:34 UTC
Hi Karsten,

works for me on i386:

# rpm -ql db4 | grep lib.*so | xargs ldd -r
/lib/libdb-4.3.so:
        linux-gate.so.1 =>  (0xb7fe3000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00db1000)
        libc.so.6 => /lib/libc.so.6 (0x00df6000)
        /lib/ld-linux.so.2 (0x0017e000)
/usr/lib/libdb-4.3.so:
        linux-gate.so.1 =>  (0xb7f71000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0087f000)
        libc.so.6 => /lib/libc.so.6 (0x00328000)
        /lib/ld-linux.so.2 (0x00bfe000)
/usr/lib/libdb_cxx-4.3.so:
        linux-gate.so.1 =>  (0xb7f14000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00f77000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00d19000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00be7000)
        libm.so.6 => /lib/libm.so.6 (0x0083f000)
        libc.so.6 => /lib/libc.so.6 (0x005ed000)
        /lib/ld-linux.so.2 (0x002db000)
# rpm -q db4
db4-4.3.29-4

If you have further details please feel free to reopen this bug.

Comment 2 Jindrich Novy 2006-07-10 13:59:25 UTC
Ah, noticed you checked db4_tcl.

But worksforme anyway ;-)

# tclsh
% load /usr/lib/libdb_tcl-4.3.so
%

So that all symbols are corretly resolved.

Comment 3 Karsten Hopp 2006-07-11 14:07:56 UTC
thanks for the clarification !


Note You need to log in before you can comment on or make changes to this bug.