KDevelop and libGL.la

Segedunum segedunum at actuaria.co.uk
Sat Aug 21 21:00:25 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 17 Aug 2004 10:36 pm, Segedunum wrote:
> Well, installed the drivers and had to install a new kernel to do it. Qt
> 3.3 barfed after that as packages told me they couldn't find qt-moc. Had a
> go at compiling KDevelop again - same result. At a bit of a loss really, as
> I've no idea what could be causing this when linking KDevelop. Everything
> exists, and it is there.

Well, I've managed to sort this, and it seems that it is some ridiculous 
stupidity and crack smoking on the packaging of the nvidia drivers (no it 
doesn't just seem to be the Gentoo ebuilds I used) that I didn't account for. 
However, it's unusual that no other kde package had a problem in finding the 
paths in the correct order.

The location of the GL libraries for nvidia is /usr/lib/opengl/nvidia/lib, and 
should be on your libs path when you install. This is where libGL.la should 
reside, and does. However, within /usr/lib there are some symlinks to the 
nvidia so files in /usr/lib/opengl/nvidia/lib (completely normal) as well as 
a duplicate libGL.la that shouldn't be there. This seems to be overriding the 
libGL.la file in ...nvidia/lib during the linking phase. Simply delete the 
libGL.la file in /usr/lib and kdevelop will link fine. I then cleaned out all 
the build files, and made sure I compiled from scratch. Successful build!

Another problem you may encounter is that an outdated libnvidia-tls.so file is 
put into the ...nvidia/tls directory, for some unknown reason. Simply copy 
the one from ...nvidia/lib and overwrite it. Why is this necessary? Who 
knows...

Cheers,

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBJ6ne53OaWc7M8G0RAvWvAJ9za8H+70R2ocAZkDYKllncdhaJUwCfejr+
h1UzTTqdWakX33nuzxrjVf8=
=R3Et
-----END PGP SIGNATURE-----

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list