Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-13-09, 10:58 AM   #1
rrx
Registered User
 
Join Date: Jan 2009
Posts: 1
Default XF86VidModeGetAllModeLines

Trying to run a *commercial* program using opengl I get:
((...))
> > File "/usr/local/bn/src/seattle.py", line 18, in ?
> > File "/usr/local/bn/src/gui/setup.py", line 14, in ?
> > ImportError:
> > /usr/local/bn/lib/python2.3/site-packages/OpenGL/GLUT.so:
> > undefined symbol: XF86VidModeGetAllModeLines

I find that GLUT.so (supplied by the vendor) is dynamically linked against libGL.so which on my system (RHEL 5.2) is *not* not dynamically linked against libXxf86vm.so
but expects the X driver to supply that function (which it apparently doesn't):

[hmw@vanadin ~]$ ldd /usr/local/bn/lib/python2.3/site-packages/OpenGL/GLUT.so
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ec7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7dc4000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7db4000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7d34000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb7d2c000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7d15000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7cfd000)
libc.so.6 => /lib/libc.so.6 (0xb7bba000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb72d8000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb72d6000)
libm.so.6 => /lib/libm.so.6 (0xb72af000)
libdl.so.2 => /lib/libdl.so.2 (0xb72ab000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb72a7000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb72a1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb71b8000)
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0xb71ad000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7155000)
/lib/ld-linux.so.2 (0x80000000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb714b000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7131000)


[hmw@vanadin ~]$ ldd /usr/lib/libGL.so.1
linux-gate.so.1 => (0xffffe000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x42f79000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x4385d000)
libm.so.6 => /lib/libm.so.6 (0x4916b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x492da000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x491c8000)
libdl.so.2 => /lib/libdl.so.2 (0x49194000)
libc.so.6 => /lib/libc.so.6 (0x49026000)
/lib/ld-linux.so.2 (0x80000000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x492cd000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x492d2000)


The installed nvidia driver is that from NVIDIA-Linux-x86-96.43.09-pkg0.run.

Any ideas?

Hubert
rrx is offline   Reply With Quote
Old 01-13-09, 11:26 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: XF86VidModeGetAllModeLines

libXxf86vm.so is a standard Xorg/Xfree86 library and it should be shipped by your linux distribution. Since the availability of XRandR the xf86vidmode library isn't installed by default on a lot of systems.
Thunderbird is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:38 PM.


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