I have to execute # opengl-update nvidia each time before I merge a package that links to libGL. Otherwise I get "undefined reference" failures [linkerror]. This is weird, I cannot resolve what the reason is. I even cannot clearly address the problem to a specifig tool, it may be caused by opengl-update, nvidia-glx, libtool, compiler or other issues. I don't know what to do. However, this is not too big a problem since running opengl-update again and again is tedious but an acceptable work-around. Reproducible: Always Steps to Reproduce:
Created attachment 45535 [details] linker errors
Created attachment 45536 [details] output of #emerge info
Some version numbers: [ebuild R ] sys-apps/portage-2.0.51-r3 -build -debug (-selinux) 0 kB [ebuild R ] x11-base/opengl-update-1.8.1-r1 0 kB [ebuild R ] media-video/nvidia-glx-1.0.6111 -multilib 0 kB [ebuild R ] media-video/nvidia-kernel-1.0.6111-r3 0 kB [ebuild R ] sys-kernel/development-sources-2.6.9 -build -doc 0 kB [ebuild R ] sys-devel/libtool-1.5.2-r7 (-uclibc) 0 kB [ebuild R ] sys-devel/gcc-3.3.4-r1 +X -bootstrap -build -debug +fortran* -gcj -hardened -multilib +nls -objc -pic -static (-uclibc) 0 kB
try this: ls /usr/lib/lib*GL* -al and post the output
Created attachment 45610 [details] /usr/lib/lib*GL* I added destinations of symbolic links.
just wanted to verify it wasnt an old bug that used to come up
Can you make sure that you only have one nvidia-glx installed.. Basically, emerge -C nvidia-kernel nvidia-glx make sure there is nothing left in /usr/lib/opengl/nvidia and that /lib/modules/`uname -r`/video/nvidia.ko is gone. opengl-update xorg-x11 emerge nvidia-glx if the error persists, can you next time, before running opengl-update nvidia check the output SpanKY asked for above, and comfirm that its the same or different.
I cannot opengl-update xorg-x11, since I still have xfree86 as X11 server. I will try this using "opengl-update xfree"
Please consider migrating, however my questions still stand even with using the xfree profile.
This will still need some time since I won't have access to the corresponding machine during holidays, sorry.
can you please provice feedback.
I had the same problem and comment #7's instructions appear to have solved it.
ok. I'm going to mark this fixed. If anyone else has problems, please try opengl-update-2.1_pre1 or later
I followed the instructions, now I get the errors always, reexecuting opengl-update doesn't help anymore /usr/lib/libGL.so: undefined reference to `_nv001152gl' (and lots of similar messages) Why isn't this /usr/lib/opengl/nvidia/lib/libGl.so ?
Created attachment 52797 [details] `ls /usr/lib/lib*GL* -al` I removed an outdated file (/usr/lib/libGLcore.so.1.4.4496), repeated the instructions and it works now. I put on the out put of `ls /usr/lib/lib*GL* -al` anyway, since the link usr/lib/libGL.a -> /usr/lib/opengl/xorg-x11/lib/libGL.a appears somewhat odd to me. There is no /usr/lib/opengl/nvidia/lib/libGL.a. I think it would be a good idea to remove the link to avoid confusing configure scripts? If so, I am going to remove it.
Resolving fixed. Thanks.