When compiling kdegraphics-3.1.4 I am getting the following: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14890' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14816' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14934' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14868' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym15837' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym08120' collect2: ld returned 1 exit status make[3]: *** [libkpovmodelerpart.la.closure] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4/kpovmodeler' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4/kpovmodeler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdegraphics-3.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make I have already tried the opengl-update nvidia to fix this but that didn't fix it. This might be more of a problem with the nvidia GLX package then the kdegraphics but I am not sure.
Ok, it turned out to not be a kdegraphics program as I originally speculated. The newest nvidia drivers (nvidia-kernel-1.0.4496-r3 and nvidia-glx-1.0.4496) don't clean up the old driver when they are installed. They left two files in /usr/lib. libGLcore.so.1.0.4363 and libGL.so.1.0.4363. They also left two dynamic links to those files called libGLcore.so.1 and libGL.so.1. The new version of the kernel driver was put in /lib/modules/2.4.20-gentoo-r5/video and the old one was left in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/video. So basically it was loading the old driver with the new libraries and so both starting x and compiling kdegraphics no longer works. I cleaned it up by hand and everything was ok after that. The nvidia packages should probably be fixed.
In more ways than one. I bet 95% of the errors around libGL are related to the nvidia stuff.
ive seen this before and it was because the user had old nvidia packages laying around ... what does `qpkg -I -v nvidia` show ?
qpkg -I -v nvidia media-video/nvidia-kernel-1.0.4496-r3 * media-video/nvidia-glx-1.0.4496 *
*** Bug 33947 has been marked as a duplicate of this bug. ***
I've also had this problem, portage doesn't seem to clean out the nvidia-glx installation correctly. (It left the same files around)
This has been fixed for some time, so I'll get it out of the system.
*** Bug 75074 has been marked as a duplicate of this bug. ***