Red Hat Bugzilla – Bug 216232
undefined symbols in compiz plugins
Last modified: 2007-11-30 17:11:49 EST
Description of problem:
The compiz plugins are full of undefined symbols. The gl* ones can be resolved
by linking offending plugins against libGL.so. The rest... I dunno what they
should like against, looks like they may be compiz-specific symbols.
Version-Release number of selected component (if applicable):
ldd -r /usr/lib64/compiz/lib*.so > /dev/null
The beryl packages I'm working on for Extras are similarly afflicted.
Created attachment 141537 [details]
Undefined symbols in $libdir/compiz/lib*.so
This isn't a problem. They're plugins, not shared libraries. The process
dlopening the .so files (compiz) is responsible for providing the unresolved
symbols, which it does by either 1) linking to libGL or other libraries to
provide the gl* symbols or 2) by exposing it's own internal API to the modules
which provides the remaining symbols.
Unresolved symbols are only a problem for shared libraries in /usr/lib that apps
actually link against. In this case an unresolved symbol in a library will
prevent the application from running.
PS: try ldd -r on any .so file in /usr/lib/xorg :)
Ah, okay, works for me, you definitely know better than I do. I have the
misfortune of the being the sucker that maintains the beryl bits in fedora
extras, and has someone file a similar bug report for beryl. Saw the same
w/compiz, so that's where this bug came from. I'll close the one filed against
beryl too then. Thanks! :)