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

Bug 176423

Summary: x11-libs/vte-0.16.3 needs "eselect opengl" with nvidia-drivers
Product: Gentoo Linux Reporter: Paul Bredbury <brebs>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: rane
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Bredbury 2007-04-28 23:35:07 UTC
Hi, with "eselect opengl set nvidia", vte-0.16.3 does not compile:

libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../..//libGL.la' is not a valid libtool archive
make[2]: *** [utf8echo] Error 1

It needs "eselect opengl set xorg-x11" first, then it compiles OK.

This is on x86 with nvidia-drivers-100.14.03 from bug #176135.
Comment 1 RĂ©mi Cardona (RETIRED) gentoo-dev 2007-04-29 07:48:22 UTC
This is not the first time something fails to build against nvidia GL drivers, we can't modify every ebuild out there to check for nvidia libs, change to mesa and change back to nvidia afterwards. I'd say this is a bigger issue than just gnome.

In the mean time, I suggest you try using LDFLAGS="--as-needed" by reading the relevant guide http://www.gentoo.org/proj/en/qa/asneeded.xml

Rebuilding your system with this (or at least some parts of it) will help in the long run to reduce such bugs (vte does not need libGL, but something else was uselessly linked agains it)
Comment 2 Paul Bredbury 2007-04-29 20:39:18 UTC
My apologies, the problem was that my /usr/lib/libGL.la from nvidia-drivers in bug #176135 was an empty file, so libtool didn't like it. I'll patch that ebuild to prevent such newbie errors happening again :)