Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libGL.so.1 missing; seems an nvidia issue
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Dec 02, 2005 12:34 pm    Post subject: Reply with quote

Ah ok... I have it.

Thanks xerxian, it did actually work. But when you then do:
Code:
eselect opengl set nvidia


It goes back to normal and doesn't work any more - i.e. LDPATH gets set back as before - is this what you experience too?

Thanks for the help, I guess it's just a problem with eselect!
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Fri Dec 02, 2005 2:10 pm    Post subject: Reply with quote

@mattjgalloway: Unfortunately you're right...

Code:
# ldd /usr/bin/glxgears && eselect opengl set nvidia && ldd /usr/bin/glxgears
        libGL.so.1 => //usr/lib/opengl/nvidia/lib/libGL.so.1 (0x0000003d1ae00000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x0000003d19000000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0000003d18e00000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0000003d19c00000)
        libm.so.6 => /lib/libm.so.6 (0x0000003d18a00000)
        libc.so.6 => /lib/libc.so.6 (0x0000003d18700000)
        libGLcore.so.1 => //usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0x0000003d17e00000)
        libnvidia-tls.so.1 => //usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0x0000003d17c00000)
        libdl.so.2 => /lib/libdl.so.2 (0x0000003d18c00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003d17a00000)
Switching to nvidia OpenGL interface... done
        libGL.so.1 => not found
        libXext.so.6 => /usr/lib/libXext.so.6 (0x0000003d19000000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0000003d18e00000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0000003d19c00000)
        libm.so.6 => /lib/libm.so.6 (0x0000003d18a00000)
        libc.so.6 => /lib/libc.so.6 (0x0000003d18700000)
        libdl.so.2 => /lib/libdl.so.2 (0x0000003d18c00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003d17a00000)

EDIT:
mattjgalloway wrote:
Thanks for the help, I guess it's just a problem with eselect!

Seems very much like that.
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Dec 02, 2005 2:40 pm    Post subject: Reply with quote

Yeh, so for now, don't use eselect until they fix it - I'm gonna look into the code some more as I think we're nearing the root cause.
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Fri Dec 02, 2005 7:32 pm    Post subject: Reply with quote

xerxian wrote:
For amd64 users with NVIDIA cards that have this problem check that your LDPATH line in /etc/env.d/03opengl is the following:

Code:
LDPATH="/usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"

I've removed the symlinks created previously, updated LDPATH and run env-update and it works again :)

Thanks xerxian
Back to top
View user's profile Send private message
kortec
n00b
n00b


Joined: 20 Dec 2004
Posts: 68

PostPosted: Fri Dec 09, 2005 5:42 pm    Post subject: Reply with quote

Hello all. I've been having this same problem for a while, but found a bug report on bugzilla that fixed thigns for me; the original report is https://bugs.gentoo.org/show_bug.cgi?id=109922, and the fix that did it for me was changing multilib.bash to this file https://bugs.gentoo.org/attachment.cgi?id=73945. Hope that helps someone else.
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Sat Dec 10, 2005 11:38 am    Post subject: Reply with quote

Stolz wrote:
xerxian wrote:
For amd64 users with NVIDIA cards that have this problem check that your LDPATH line in /etc/env.d/03opengl is the following:

Code:
LDPATH="/usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"

I've removed the symlinks created previously, updated LDPATH and run env-update and it works again :)

Thanks xerxian


You'll find it doesn't work after you run eselect to set opengl mode. This happens almost every world update for me as something recompiled some opengl stuff which runs eselect.

That bug isn't there apparantly kortec!
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Dec 10, 2005 1:07 pm    Post subject: Reply with quote

Stolz wrote:
That bug isn't there apparantly kortec!


Remove the comma in the url ;-)!
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Sat Dec 10, 2005 1:48 pm    Post subject: Reply with quote

Ah ha!

Yes, nice one!

And that multilib.bash fix works great for me! Good work!
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Dec 28, 2005 10:51 pm    Post subject: Reply with quote

xerxian wrote:
For amd64 users with NVIDIA cards that have this problem check that your LDPATH line in /etc/env.d/03opengl is the following:

Code:
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
I don't have a /usr/lib32/opengl/nvidia directory, but I do have a /usr/lib32/opengl/xorg-x11/lib directory. Adding that worked.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Thu Dec 29, 2005 8:51 am    Post subject: Reply with quote

But that's for if you are using the xorg-x11 opengl surely, instead of the nvidia one which is what we're all talking about here...
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Thu Feb 09, 2006 2:36 pm    Post subject: Reply with quote

Hi everybody!

It took a while but now it's time to revive this discussion...

First a lil background info: Yesterday i synced my portage tree and made a world update afterwards. Everything went smoothly (at least that's what i thought) but today in the morning i found out that xscreensaver (which was updated yesterday) is broken... After doing a little bit of research i found out that my opengl-libs are messed up and that caused xscreensaver to skip all the GL-screensavers. That is the exact error msg i get from emerge when it runs ./config:

Code:
...
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking whether GL is really MesaGL... yes
checking for pthread_create in -lpthread... yes
checking for glXCreateContext in -lMesaGL... no
checking for glXCreateContext in -lGL... no
...
    #################################################################

    Warning: Use of GL was requested, but it was not found.

             More specifically, we found the headers, but not the
             libraries; so either GL is half-installed on this
             system, or something else went wrong.  The `config.log'
             file might contain some clues.

             Those demos which use 3D will not be built or installed.
             You might want to consider installing OpenGL and
             re-running configure.  If your vendor doesn't ship
             their own implementation of OpenGL, you can get a free
             version at <http://www.mesa3d.org/>.  For general OpenGL
             info, see <http://www.opengl.org/>.

    #################################################################
...



So in order to fix it i first tried to do a eselect opengl set ati (i own a ati-card, i know it sucks but i still own one ;) ) and reemerged xscreensaver again=>Nothing changed. After that i reemerged the latest version of ati-drivers, everything went as expected but still nothing changed in account to xscreensaver. glxinfo shows that dri is working and the ati-implementation is used. quake3 is working

After that i created a symlink in /usr/lib which points to the 64-bit opengl-lib of ati:

Code:

lrwxrwxrwx 1 root root     34 Feb  9 16:12 libGL.so.1 -> /usr/lib/opengl/ati/lib/libGL.so.1


Tryed it again=>no avail

I changed the LDPATH in /etc/env.d/ to
Code:
LDPATH="//usr/lib/opengl/ati/lib://usr/lib32/opengl/ati/lib"

but it didn't help and now i'm out of ideas, so if anyone else has an idea, i would be glad to hear it...

P.S. I already put that in Bugzilla but i think I'll say it again here:

Some things that go into portage definitely need more testing. Packages like baselayout (almost EVERY!!!!!!!!!!!!! update breaks something bad, last time i wasn't even able to log into my system any more, that's why i changed back to the last stable version and masked every version after that one) and eselect are crucial to have a working and (at least somehow) stable system, so a littlebit more testing would help and make things definitely a bit more stable... Don't get me wrong I do appreciate the work the devs are doing and i know that making something work on alot of different systems is almost impossible, but i do think (and expect) that the things you need to have a working base-system are really working and stable!
Back to top
View user's profile Send private message
psyforce
n00b
n00b


Joined: 12 Feb 2006
Posts: 3

PostPosted: Sun Feb 12, 2006 3:29 am    Post subject: Reply with quote

I have same looking problem here
i have a Gf 4 mx 440 agp 4 i guess
i tried a lot with symlinking the libs but it all has no effects
anyhow i got no opengl32 libs
maybe the problem is due to the 4x AGP i couldnt figure it out if my card is supported
would be cool if anyone could help
greetz psy

quake3 wont work giving me this message

Code:

...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf or current dir: /usr/local/games/quake3/opengl32: cannot read file data: Is a directory
failed
...loading libGL.so.1: Initializing OpenGL display
...setting mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension:  Ignored on non-fullscreen/Voodoo
Couldn't get a visual
...WARNING: could not set the given mode (6)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension:  Ignored on non-fullscreen/Voodoo
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


glxinfo::
Code:

glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21  8 pc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x22  8 gs  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x23  8 sc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x24  8 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x25  8 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x26  8 sg  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


and here Xorg.0.log

Code:
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xC0000000
(--) NVIDIA(0): MMIO registers at 0xCE000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce4 MX 440
(--) NVIDIA(0): VideoBIOS: 04.17.00.24.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): VideoRAM: 65536 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0, TV-0
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0):      using first display
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 350 MHz
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
(--) NVIDIA(0): Display dimensions: (360, 260) mm
(--) NVIDIA(0): DPI set to (112, 117)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24





Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Sun Feb 12, 2006 10:44 am    Post subject: Reply with quote

My problem was solved either by the upgrade to the newest ati-drivers or the latest eselect-version. I dunno but maybe it would be worth to give the newest eselct version a try.
Back to top
View user's profile Send private message
turkystuffing
n00b
n00b


Joined: 31 Mar 2005
Posts: 49
Location: UK

PostPosted: Tue Feb 14, 2006 8:08 pm    Post subject: Reply with quote

Code:

opengl-update nvidia


seems to work for me, even tho it complains that:

Code:

* opengl-update is deprecated and is just a frontend to the opengl
* eselect module.  In the future, opengl-update will be removed
* from portage.  Please see 'eselect opengl help'


Hope they do keep it, seen as eselect doesn't work... Wonder why this method does seem to work and is just a frontend?
_________________
Thanks

Turkystuffing
Back to top
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Apr 17, 2006 3:21 pm    Post subject: Reply with quote

I have an Error with my gl libs too! I use modulary xorg and xgl.
I tried all that i found, but nothing solves the problem :-(

Since yesterday i cant start any wine/cedega Applications, it allways fails with this Error message:
Code:
$ wine /games/warcraft/war3.exe
err:ole:CoCreateInstance apartment not initialised
err:module:import_dll Library OPENGL32.dll (which is needed by L"Z:\\games\\warcraft\\Game.dll") not found

after reemerging a lot of stuff (nvidia-kernel,nvidia-glx,mesa,glitz,glut,xorg-x11,xorg-x11-server,x11proto, etc.)
i tried to reemerge gle, and it allways fails with:
Code:
checking for glGetError in -lGL... no
configure: error: Cannot find required GL library

here is the relevant part of the log:
Code:
configure:3381: checking for glGetError in -lGL
configure:3400: gcc -o conftest -march=i686 -O2 -pipe -Wall  -Wl,-O1 conftest.c -lGL  -lSM -lICE  -lX11   -lm 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/lib/libGL.so: undefined reference to `_nv000040gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/lib/libGL.so: undefined reference to `_nv000039gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/lib/libGL.so: undefined reference to `_nv000038gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/lib/libGL.so: undefined reference to `_nv000041gl'
/usr/lib/libGLcore.so.1: undefined reference to `_nv000037gl'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3389 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glGetError();

int main() {
glGetError()
; return 0; }


another programm wich wont compile is gtkglext, the Output is:
Code:
checking for glVertex3d in -lGLcore... no
checking for glVertex3d in -lGL... no
checking for glVertex3f in -lGL... no
checking for glVertex3i in -lGL... no
checking for glVertex3s in -lGL... no
checking for glVertex3d in -lMesaGL... no
configure: error: Cannot find GL library


and the log:
Code:
configure:23806: checking for glVertex3d in -lGLcore
configure:23836: i686-pc-linux-gnu-gcc -o conftest -march=i686 -O2 -pipe -Wall    -Wl,-O1 conftest.c -lGLcore     -lXmu -lXt  -lSM -$
/var/tmp/portage/gtkglext-1.2.0/temp/ccGNSWxa.o: In function `main':
conftest.c:(.text+0xa): undefined reference to `glVertex3d'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000016gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000003gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000027gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000025gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000034gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000018gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000013gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000005gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000022gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000039gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000008gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000002gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000030gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000033gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000004gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000036gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000031gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000038gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000028gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000024gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000041gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000029gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000012gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000020gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000026gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000019gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000015gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000010gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000011gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000017gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000021gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000035gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000006gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000009gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000007gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000023gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000014gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000037gl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libGLcore.so: undefined reference to `_nv000032gl'
collect2: ld returned 1 exit status


I played with eselect, i ran revdep-rebuild, both without result :-(
I tried to downgrade the nvidia-driver, no result.
I ran
Code:
for i in /usr/bin/* ; do ldd $i | grep "not found"; done
without an Error

Here is my make.conf:
Code:
CFLAGS="-march=i686 -O2 -pipe"
#CFLAGS="-mfpmath=sse -O2 -pipe -msse2 -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
LDFLAGS="-Wl,-O1"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
VIDEO_CARDS="none nv nvidia"
INPUT_DEVICES="keyboard mouse joystick"
USE="3dfx 3dnow 3dnowext a52 aac amd apic applet asf bidi bittorrent dllloader
     browserplugin bzip2 cairo cdda cddb cdinstall cdio cdparanoia cdrom avi aalib dri
     chroot clamav clflush cmov cx8 de dts divx4linux dv dvd dvdr dvdread editor emacs esd
     festival ffmpeg firefox fpu freetype ftp gimp gimpprint glx gnutls glut lcms ldap
     graphviz httpd ieee1394 input_devices_joystick input_devices_keyboard encode
     input_devices_mouse mad irda jabber jack java joystick jpeg2k lame flac live matroska
     mbrola mca mce mozilla mjpeg mp3 mpeg4 mplayer msr mtrr nsplugin nvidia nvtv pae ogg
     pat pge pse pse36 rar real sep softmmu sounds stream theora tsc v4l vcd quicktime
     vcdimager video_cards_nvidia videos virus-scan visualization vlm vme vidix bitmap-fonts truetype-fonts type1-fonts
     win32codecs wma wmv wmv9dmo wmvdmo wxwindows xcomposite vorbis xdamage xfixes
     xine xinerama xrandr glitz xrender xscreensaver xv xmms xvid cjk svg gnome nptl nptlonly"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
#ECVS_SERVER="thinktux.net:/root"
LANG="de_DE@euro"
LANGUAGE="49"
LINGUAS="de"
#PORTAGE_NICENESS="19"
CONFIG_PROTECT="/etc/make.conf /etc/fstab /etc/rc.conf /etc/conf.d/net /etc/samba/smb.conf /etc/samba/smbuser /etc/hosts /etc/conf.d/hostname /etc/conf.d/domainname /etc/passwd"


and here is glxinfo (under Xgl):
Code:
$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX version: 1.2
GLX extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_SGIX_fbconfig, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6600 GT/AGP/SSE2/3DNOW!
OpenGL version string: 1.2 (2.0.2 NVIDIA 87.56)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program,
    GL_ARB_fragment_program, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_ATI_texture_mirror_once, GL_HP_occlusion_test,
    GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
    GL_NV_texgen_reflection, GL_NV_texture_rectangle,
    GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
    GL_SGIX_depth_texture, GL_SGIX_shadow
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2e 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon
0x2f 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon


i also cant see something wrong here:
Code:
$ ldd /usr/lib/libGL.so
   linux-gate.so.1 =>  (0xffffe000)
   libGLcore.so.1 => //usr//lib/opengl/nvidia/lib/libGLcore.so.1 (0xb7694000)
   libnvidia-tls.so.1 => //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb7692000)
   libm.so.6 => /lib/libm.so.6 (0xb766f000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xb7661000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb7572000)
   libdl.so.2 => /lib/libdl.so.2 (0xb756e000)
   libc.so.6 => /lib/libc.so.6 (0xb7453000)
   /lib/ld-linux.so.2 (0x80000000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xb7450000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb744b000)


Code:
ldconfig -p | grep GL
   libQtOpenGL.so.4 (libc6) => /usr/lib/qt4/libQtOpenGL.so.4
   libQtOpenGL.so (libc6) => /usr/lib/qt4/libQtOpenGL.so
   libGLw.so.1 (libc6) => /usr/lib/libGLw.so.1
   libGLw.so (libc6) => /usr/lib/libGLw.so
   libGLcore.so.1 (ELF) => //usr//lib/opengl/nvidia/lib/libGLcore.so.1
   libGLcore.so (ELF) => //usr//lib/opengl/nvidia/lib/libGLcore.so
   libGLcore.so (ELF) => /usr/lib/libGLcore.so
   libGLU.so.1 (libc6) => /usr/lib/libGLU.so.1
   libGLU.so (libc6) => /usr/lib/libGLU.so
   libGL.so.1 (libc6) => //usr//lib/opengl/nvidia/lib/libGL.so.1
   libGL.so.1 (libc6) => /usr/i686-pc-linux-gnu/lib/libGL.so.1
   libGL.so (libc6) => //usr//lib/opengl/nvidia/lib/libGL.so
   libGL.so (libc6) => /usr/lib/libGL.so
   libCgGL.so (libc6) => /usr/lib/libCgGL.so


I hope somebody can help me out!

EDID:
Puh i think i fixed it!
This one was the evil Bast***!
Code:
libGL.so.1 (libc6) => /usr/i686-pc-linux-gnu/lib/libGL.so.1


after removing this file i was able to emerge gle and gtkglext.
Wine still gives the error but i try to reemerge it and then i will see...
Back to top
View user's profile Send private message
g0su
Guru
Guru


Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Tue Apr 18, 2006 11:16 pm    Post subject: Reply with quote

I was add too /etc/env.d/02locale LDPATH="/usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
and i eselect nvidia(eselect opengl set nvidia). And it works.

Code:
DarkTemplar ~ # cat /etc/env.d/02locale  | grep LD
LDPATH="/usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
DarkTemplar ~ # echo $LDPATH
/usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib
DarkTemplar ~ # eselect opengl set nvidia
Switching to nvidia OpenGL interface... done
DarkTemplar ~ # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
DarkTemplar ~ # glxinfo | grep direct
direct rendering: Yes
DarkTemplar ~ # glxgears
71942 frames in 5.0 seconds = 14388.400 FPS
85483 frames in 5.0 seconds = 17096.600 FPS
84842 frames in 5.0 seconds = 16968.400 FPS
84448 frames in 5.0 seconds = 16889.600 FPS
84430 frames in 5.0 seconds = 16886.000 FPS
84263 frames in 5.0 seconds = 16852.600 FPS

DarkTemplar ~ #


Now, i can emerge xscreensaver, pygtk with opengl USE, but i lost 1000-1500 fps in glxgears :(

Thx for the help.

Bye
Back to top
View user's profile Send private message
g0su
Guru
Guru


Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Thu Apr 20, 2006 8:04 pm    Post subject: Reply with quote

I reinstall gentoo(4h only.. :D). And use ~amd64 version.

OpenGl works better:
97804 frames in 5.0 seconds = 19560.650 FPS
97785 frames in 5.0 seconds = 19556.918 FPS
97898 frames in 5.0 seconds = 19579.449 FPS

:D
_________________
Busco desarrollador con complejo de proxy, interesados MP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum