Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114537

Summary: modular Xorg (7.0.0rc3) unresolved symbols for opengl interface
Product: Gentoo Linux Reporter: Felix Braun <Felix.Braun>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112004    
Attachments: config.log
output from emerge info
Log of the x-server
my xorg.conf

Description Felix Braun 2005-12-05 08:05:38 UTC
I just updated my modular Xorg build. The compilation of xdriinfo aborts with
the following error:

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XDRIINFO... yes
checking for library containing glXGetProcAddress... no
configure: error: cannot find GL library - make sure Mesa or other OpenGL
package is installed

even though I have mesa-6.4.1 installed. Is glXGetProcAdderess provided in a
newer version of mesa? Anyway, the ebuild should depend on a library that
provides that function.

xdiinfo-0.99.1 works fine on this system.
Comment 1 Felix Braun 2005-12-05 08:08:36 UTC
Created attachment 74099 [details]
config.log
Comment 2 Felix Braun 2005-12-05 08:16:39 UTC
Created attachment 74101 [details]
output from emerge info
Comment 3 Felix Braun 2005-12-05 09:18:48 UTC
A revdep-rebuild (rebuilding mesa) fixed the issue for me. Maybe xserver's
ebuild should be updated to suggest such a rebuild?
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-12-05 09:31:39 UTC
This is likely due to the libdrm changes...Donnie, should we rev-bump mesa and
force it in the metabuild to avoid this?
Comment 5 Felix Braun 2005-12-05 10:06:31 UTC
But now the xorg-server can't load its GLcore module anymore (libGLcore.so:
undefined symbol: __glXLastContext)

:-(
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-12-05 10:32:15 UTC
Which xorg-server are you running?  I bumped it last night with a libdrm dep
that might fix it...
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-05 11:36:11 UTC
(In reply to comment #4)
> This is likely due to the libdrm changes...Donnie, should we rev-bump mesa and
> force it in the metabuild to avoid this?

No, that's not the right answer. Running revdep-rebuild is.
Comment 8 Felix Braun 2005-12-07 05:41:25 UTC
In reply to comment #6:
The bug with __glXLastContext is present in both xorg-server-0.99.4-r1 and -r2.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2005-12-07 10:20:57 UTC
Please attach your 'emerge info' and attach your X configuration and log.
Comment 10 Felix Braun 2005-12-07 10:31:56 UTC
Comment on attachment 74099 [details]
config.log

obsoleted by bug-morphing
Comment 11 Felix Braun 2005-12-07 10:34:45 UTC
Created attachment 74241 [details]
Log of the x-server
Comment 12 Felix Braun 2005-12-07 10:38:00 UTC
Created attachment 74242 [details]
my xorg.conf

Configuration, log and emerge info attached as per request. Thanks for your
help.
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2005-12-07 13:22:09 UTC
You shouldn't load GLcore explicitly.  The dynamic loader will start it as
required.  Drop the line from your xorg.conf and you shouldn't lose any
functionality.