Bug 216232

Summary: undefined symbols in compiz plugins
Product: [Fedora] Fedora Reporter: Jarod Wilson <jarod>
Component: compizAssignee: Kristian Høgsberg <krh>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
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: 2007-03-29 02:53:58 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:
Attachments:
Description Flags
Undefined symbols in $libdir/compiz/lib*.so none

Description Jarod Wilson 2006-11-17 21:57:11 UTC
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):
compiz-0.0.13-0.32.20060817git.fc6.x86_64

How reproducible:
ldd -r /usr/lib64/compiz/lib*.so > /dev/null

Additional info:

The beryl packages I'm working on for Extras are similarly afflicted.

Comment 1 Jarod Wilson 2006-11-17 21:57:11 UTC
Created attachment 141537 [details]
Undefined symbols in $libdir/compiz/lib*.so

Comment 2 Kristian Høgsberg 2007-03-29 02:53:58 UTC
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 :)


Comment 3 Jarod Wilson 2007-03-29 13:24:30 UTC
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! :)