Bug 198241

Summary: ldd -r reports undefined symbols
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: eclipseAssignee: Jeff Johnston <jjohnstn>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-15 18:51:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 198485    

Description Karsten Hopp 2006-07-10 15:22:17 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


libswt3-gtk2-3.2.0-1jpp_1fc
undefined symbol: JAWT_GetAWT   (/usr/lib/libswt-awt-gtk-3232.so)
undefined symbol: XSynchronize  (/usr/lib/libswt-awt-gtk-3232.so)

Comment 1 Ben Konrath 2006-11-15 17:15:06 UTC
Jeff, could you please look into this? Thanks.

Comment 2 Jeff Johnston 2006-11-15 18:51:48 UTC
The missing symbols in question go away if you include /usr/lib/gcj-4.1.1 (or
appropriate gcj) in your LD_LIBRARY_PATH.  For example, JAWT_GetAWT is found in
libjawt.so which likely isn't on your default library path when you ran the ldd
command.