
Recruit
|
Posts: 9 |
|
Joined: 15 Nov 2002 |
|
   |
Posted: 29 Nov 2003 09:36
|
  |
|

Whenever I try to run the armyops command, the splash screen shows up, but then it exits with these messages:
Could not load OpenGL library
History:
Exiting due to error
This happens as root and as a normal user. My system profile:
Debian Linux kernel version 2.4.20
nvidia nforce graphics/network card
1.8 Ghz AMD Athlon XP 2500+
I do have the nvidia gfx drivers installed, and I'm able to run Counter-Strike (another opengl game, and for windows no less). Any ideas?
|

Recruit
|
Posts: 6 |
|
Joined: 26 Nov 2003 |
|
   |
Posted: 29 Nov 2003 09:41
|
  |
|

maybe becuase aa finds the mesa libgl libraries instead of your nvidia libs?
i am not really sure how to resolve it...
|

Recruit
|
Posts: 6 |
|
Joined: 26 Nov 2003 |
|
   |
Posted: 29 Nov 2003 09:47
|
  |
|

this is for mandrake8 i think...
| Quote: |
The nvidia driver install a GL library under /usr/lib/libGL.so and the Mesa libGL.so is usually under /usr/X11R6/lib/(libGL.so). You need to rm /usr/X11R6/lib/libGL.* and run ldconfig. This should fix the conflicting libGL librarys. You also can tell quake3 to use /usr/lib/libGL.so (quake3 +set r_gldriver /usr/lib/libGL.so) I think.
Rob
Submitted by: robd@bltech.net - on 2001-06-05 |
| Quote: |
After removing or deleting the libGL.* files like the other guy suggested, you must reinstall your NVIDIA drivers then add Load "glx" and change "nv" to "nvidia".That should do it.
Submitted by an Anonymous Coward |
|

Recruit
|
Posts: 9 |
|
Joined: 15 Nov 2002 |
|
   |
Posted: 29 Nov 2003 16:29
|
  |
|

There are no libGL.* files in my /usr/X11R6/lib directory. There are, however, libGLU files. Are those the ones?
td
|

Private
|
Posts: 32 |
|
Joined: 15 Nov 2003 |
|
   |
Posted: 29 Nov 2003 19:48
|
  |
|

do an opengl-update nvidia ... that links your libGL* files against the nvidia-glx-files
|

Private First Class
|
Posts: 172 |
|
Joined: 11 Nov 2003 |
|
   |
Posted: 30 Nov 2003 03:31
|
  |
|

Start the game with a command: 'LD_PRELOAD=/usr/lib/tls/libGL.so.1 path/to/armyops/binary/armyops'
|

Recruit
|
Posts: 9 |
|
Joined: 15 Nov 2002 |
|
   |
Posted: 30 Nov 2003 11:33
|
  |
|

Wow. Worked like a charm. Now, can you explain to me why that works? I'm interested to learn...
Thanks,
td
|

Recruit
|
Posts: 3 |
|
Joined: 28 Nov 2003 |
|
   |
Posted: 02 Dec 2003 03:55
|
  |
|

By the looks of the command the game does not load the library file correctly when you run armyops but when you run the command
'LD_PRELOAD=/usr/lib/tls/libGL.so.1 path/to/armyops/binary/armyops'
it loads the libray file then starts the game. Thus removing the problem with loading the library at run time.
|

Recruit
|
Posts: 12 |
|
Joined: 05 Dec 2003 |
|
   |
Posted: 05 Dec 2003 08:52
|
  |
|

Works like a charm !
_____________________

|

Recruit
|
Posts: 3 |
|
Joined: 25 Jan 2004 |
|
   |
Posted: 25 Jan 2004 14:47
|
  |
|

I tried the above also, however I'm getting this from my console:
XXX@XXXX1:~$ LD_PRELOAD=/usr/lib/tls/libGL.so.1 /home/tman/armyops/armyops
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Couldn't set video mode: Couldn't find matching GLX visual
Any suggestions?
|

Private First Class
|
Posts: 145 |
|
Joined: 17 Aug 2002 |
|
   |
Posted: 26 Jan 2004 05:01
|
  |
|

mwuser does that file exists. Whatr brand of linux, what brand of vid card
_____________________ Enemies? One shot and they are history
watch my AA faq: aafaq.cybermans.com | before posting an linux support question read this please
|