nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   OpenGL problem (http://www.nvnews.net/vbulletin/showthread.php?t=85215)

bjlockie 01-28-07 06:59 PM

OpenGL problem [SOLVED]
 
It used to use:
/usr/lib64/opengl/xorg-x11/lib/libGL.so.1
so I changed /etc/ld.so.conf to try to use (the nvidia one):
/lib32/libGL.so.1
but now it is "not found".

The nvidia readme says there should be a libGLcore.so.1 in the following but there isn't.

# ldd /usr/X11R6/bin/glxgears
libglut.so.3 => /usr/lib/libglut.so.3 (0x00002b6b08d95000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00002b6b08ed9000)
libGL.so.1 => not found
libm.so.6 => /lib/libm.so.6 (0x00002b6b0905a000)
libc.so.6 => /lib/libc.so.6 (0x00002b6b091af000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b6b093e9000)
libGL.so.1 => not found
libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b6b095f3000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00002b6b09704000)
libGL.so.1 => not found
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.so.6 (0x00002b6b0980a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b6b09a0b000)
/lib64/ld-linux-x86-64.so.2 (0x00002b6b08c79000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b6b09b19000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b6b09c1c000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b6b09d21000)

# ls -l /usr/lib32/libGL.so.1
lrwxrwxrwx 1 root root 17 Jan 15 11:55 /usr/lib32/libGL.so.1 -> libGL.so.1.0.9629

# ls -l /usr/lib32/libGL.so.1.0.9629
-rwxr-xr-x 1 root root 567500 Jan 15 11:55 /usr/lib32/libGL.so.1.0.9629

The /var/log/Xorg.0.log says:

(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX

which is not right either. :-(

bjlockie 01-28-07 07:20 PM

Re: OpenGL problem
 
# ls -l /usr/lib/xorg/modules/extensions
total 3576
-rwxr-xr-x 1 root root 2359064 Jan 26 02:33 libGLcore.so
-rwxr-xr-x 1 root root 19448 Jan 26 02:33 libdbe.so
-rwxr-xr-x 1 root root 36456 Jan 26 02:33 libdri.so
-rwxr-xr-x 1 root root 139896 Jan 26 02:33 libextmod.so
lrwxrwxrwx 1 root root 18 Jan 28 19:53 libglx.so -> libglx.so.1.0.9629
-rwxr-xr-x 1 root root 1011816 Jan 15 11:55 libglx.so.1.0.9629
-rwxr-xr-x 1 root root 27848 Jan 26 02:33 librecord.so
-rwxr-xr-x 1 root root 43112 Jan 26 02:33 libxtrap.so

Why is libGLCore here and above?

# ls -l /usr/X11R6/lib32
total 9340
-rw-r--r-- 1 root root 655 Jan 15 11:55 libGL.la
lrwxrwxrwx 1 root root 10 Jan 15 11:55 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 17 Jan 15 11:55 libGL.so.1 -> libGL.so.1.0.9629
-rwxr-xr-x 1 root root 567500 Jan 15 11:55 libGL.so.1.0.9629
lrwxrwxrwx 1 root root 21 Jan 15 11:55 libGLcore.so.1 -> libGLcore.so.1.0.9629
-rwxr-xr-x 1 root root 8961144 Jan 15 11:55 libGLcore.so.1.0.9629
lrwxrwxrwx 1 root root 25 Jan 15 11:55 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9629
-rwxr-xr-x 1 root root 2352 Jan 15 11:55 libnvidia-tls.so.1.0.9629
drwxr-xr-x 2 root root 4096 Jul 23 2006 nptl

# ldd /usr/lib/xorg/modules/extensions/libglx.so
libGLcore.so.1 => not found
libnvidia-tls.so.1 => not found
libc.so.6 => /lib/libc.so.6 (0x00002b25616df000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

I don't have 32bit compatibility in the kernel.

bjlockie 01-28-07 08:58 PM

Re: OpenGL problem
 
fixed. I renamed some stuff and deleted some things. :-)
Basically, flukey.


All times are GMT -5. The time now is 02:03 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.