Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73811 - opengl-update nvidia needs to be executed repeatedly
Summary: opengl-update nvidia needs to be executed repeatedly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 08:22 UTC by Carsten Milkau
Modified: 2005-03-10 06:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linker errors (linkerror,36.81 KB, text/plain)
2004-12-08 08:24 UTC, Carsten Milkau
Details
output of #emerge info (emergeinfo,2.82 KB, text/plain)
2004-12-08 08:26 UTC, Carsten Milkau
Details
/usr/lib/lib*GL* (tmp,827 bytes, text/plain)
2004-12-09 08:02 UTC, Carsten Milkau
Details
`ls /usr/lib/lib*GL* -al` (FILE,1.67 KB, text/plain)
2005-03-06 09:56 UTC, Carsten Milkau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Milkau 2004-12-08 08:22:17 UTC
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:
Comment 1 Carsten Milkau 2004-12-08 08:24:40 UTC
Created attachment 45535 [details]
linker errors
Comment 2 Carsten Milkau 2004-12-08 08:26:44 UTC
Created attachment 45536 [details]
output of #emerge info
Comment 3 Carsten Milkau 2004-12-08 08:30:01 UTC
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
Comment 4 SpanKY gentoo-dev 2004-12-08 15:58:46 UTC
try this:
ls /usr/lib/lib*GL* -al

and post the output
Comment 5 Carsten Milkau 2004-12-09 08:02:00 UTC
Created attachment 45610 [details]
/usr/lib/lib*GL*

I added destinations of symbolic links.
Comment 6 SpanKY gentoo-dev 2004-12-09 08:09:12 UTC
just wanted to verify it wasnt an old bug that used to come up
Comment 7 Andrew Bevitt 2004-12-09 19:19:36 UTC
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.
Comment 8 Carsten Milkau 2004-12-10 05:43:09 UTC
I cannot opengl-update xorg-x11, since I still have xfree86 as X11 server. I will try this using "opengl-update xfree"
Comment 9 Andrew Bevitt 2004-12-10 12:17:11 UTC
Please consider migrating, however my questions still stand even with using the xfree profile.
Comment 10 Carsten Milkau 2004-12-16 05:59:11 UTC
This will still need some time since I won't have access to the corresponding machine during holidays, sorry.
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-22 03:02:58 UTC
can you please provice feedback.
Comment 12 Fernando Serboncini (RETIRED) gentoo-dev 2005-01-22 15:27:34 UTC
I had the same problem and comment #7's instructions appear to have solved it.
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-24 17:15:58 UTC
ok.  I'm going to mark this fixed.  If anyone else has problems, please try opengl-update-2.1_pre1 or later 
Comment 14 Carsten Milkau 2005-02-22 10:19:19 UTC
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 ?
Comment 15 Carsten Milkau 2005-03-06 09:56:46 UTC
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.
Comment 16 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-10 06:10:16 UTC
Resolving fixed.  Thanks.