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

Bug 36450

Summary: pygtk looks for nvidia openGL drivers in the wrong place during emerge
Product: Gentoo Linux Reporter: Levent <ertoz>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: python, x11
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Levent 2003-12-24 16:09:24 UTC
I was doing "emerge gnome" building everything from scratch.  Before that, i did "emerge nvidia-kernel nvidia-glx" which emerged the two packages and xfree86.  then i did "opengl-update nvidia".  then continued with "emerge gnome".  when it was compiling pygtk-2.0.0, it complained about not being able to find '/usr/lib/opengl/nvidia/libGL.la' while the file is located in '/usr/lib/opengl/nvidia/lib/libGL.la'

Reproducible: Always
Steps to Reproduce:
1.emerge nvidia-kernel nvidia-glx && opengl-update nvidia
2.emerge gnome
3.

Actual Results:  
compilation stopped

Expected Results:  
looked for the file in the /usr/lib/opengl/nvidia/lib/ directory instead 
of /usr/lib/opengl/nvidia
Comment 1 Yi Quang (RETIRED) gentoo-dev 2003-12-24 16:53:27 UTC
Do you have the opengl useflag? If not, do you get the same error when opengl is in your USE variable?
Comment 2 Levent 2003-12-24 17:02:50 UTC
opengl is in the default make.default file.  i haven't set -opengl in make.conf so it's included.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-12-29 18:49:49 UTC
It works fine here, can you please attach a full build log of 'emerge pygtk' so we can see what's happening ? Also do you have gtkgl and/or PyOpenGL installed ?
Comment 4 Levent 2003-12-29 19:57:57 UTC
i have installed pygtk by making a symbolic link to the library from /usr/lib/opengl/nvidia/lib/libGL.la to /usr/lib/opengl/nvidia/libGL.la
i have not saved the output of emerge (i should have done that...).  but what it was saying is that /usr/lib/opengl/nvidia/libGL.la did not exist.  and emerge stopped there...  btw, i don't know if it helps at all, but i used --march=athlon-mp when compiling and did not use any binary packages.  i only had --java in the USE flags and did not exclude anything else.
Comment 5 Marc Jackisch 2004-01-26 07:28:23 UTC
In my case, the pygtk build complained about "/usr/lib/libGL.la is not a valid libtool archive". There was indeed a libGL.la left over from a manual install and the problem was solved by softlinking /usr/lib/opengl/nvidia/lib/libGL.la to /usr/lib after removing the leftover file.

Seems, that the problem is rooted in either nvidia-glx-1.0.5328 or in opengl-update. One of these tools should be responsible for creating/linking/copying the correct libGL.la and "forgets" this file.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-02-04 07:48:46 UTC
i think this is the same issue, should be fixed with the latest opengl-update 

*** This bug has been marked as a duplicate of 39487 ***