Forums

Username:  

Password:  

       
Login Help

  LATEST POSTS  
 
Why AA3 killed AA2 a..
new and need some he..
The [FIRM] clan is r..
Flashbangs
Respawn only after r..

Keywords:
 

More search options

  HOT TOPICS  
 
2nd Video Challenge
AA3.0.6 Update
AA3 YouTube Videos
AA Challenge Winner
» See more topics
 

    Page 1 of 1     

 unable to open OpenGL library 
 

td

Recruit
Posts: 9
Joined: 15 Nov 2002

      Posted: 29 Nov 2003 09:36 Profile


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?

darthmuss

Recruit
Posts: 6
Joined: 26 Nov 2003

      Posted: 29 Nov 2003 09:41 Profile


maybe becuase aa finds the mesa libgl libraries instead of your nvidia libs?

i am not really sure how to resolve it...

darthmuss

Recruit
Posts: 6
Joined: 26 Nov 2003

      Posted: 29 Nov 2003 09:47 Profile


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

td

Recruit
Posts: 9
Joined: 15 Nov 2002

      Posted: 29 Nov 2003 16:29 Profile


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

td

J.M.I.T.

Private
Posts: 32
Joined: 15 Nov 2003

      Posted: 29 Nov 2003 19:48 Profile


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

[AOE]FinnTux

Private First Class
Posts: 172
Joined: 11 Nov 2003

      Posted: 30 Nov 2003 03:31 Profile


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

td

Recruit
Posts: 9
Joined: 15 Nov 2002

      Posted: 30 Nov 2003 11:33 Profile


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

Thanks,

td

Mogwa_

Recruit
Posts: 3
Joined: 28 Nov 2003

      Posted: 02 Dec 2003 03:55 Profile


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.

dNa][wimux

Recruit
Posts: 12
Joined: 05 Dec 2003

      Posted: 05 Dec 2003 08:52 Profile


Works like a charm !

_____________________
Embedded Image

mwUser

Recruit
Posts: 3
Joined: 25 Jan 2004

      Posted: 25 Jan 2004 14:47 Profile


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?

-=TGS=-cybermans

Private First Class
Posts: 145
Joined: 17 Aug 2002

      Posted: 26 Jan 2004 05:01 Profile


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


 unable to open OpenGL library 
 

    Page 1 of 1     

 

Jump to: