OpenGL Problems - Linux
by Dirk Hoerner · in ThinkTanks · 11/03/2003 (10:37 am) · 3 replies
Hello guys,
I just downloaded the demo to give ThinkTanks a try, but unfortunately I keep getting the following error:
Unable to initialize OpenGL (Error: Could not load OpenGL library).
The weird thing about it is, games like Quake3 and tuxracer are working pretty fluently, same goes for apps like glxgears.
Hardware I'm running Debian SID with current NVIDIA drivers on is the following:
nVidia GeForce Ti4200
Athlon XP 2200+
Thanks for your helping hands,
Dirk
I just downloaded the demo to give ThinkTanks a try, but unfortunately I keep getting the following error:
Unable to initialize OpenGL (Error: Could not load OpenGL library).
The weird thing about it is, games like Quake3 and tuxracer are working pretty fluently, same goes for apps like glxgears.
Hardware I'm running Debian SID with current NVIDIA drivers on is the following:
nVidia GeForce Ti4200
Athlon XP 2200+
Thanks for your helping hands,
Dirk
#2
12/20/2003 (6:44 pm)
Wat's GL?
#3
As i had been suspecting for a long time the game simply can't find the tls openGL files. Now for those of you out there who would prefer not scouring forums for several hours to no avail, here is the simple fix (in debian anyway).
Open a command promt and type this:
export LD_ASSUME_KERNEL=2.2.5
And you should be good to go, you must however also start thinktanks from the same command promt. Well hope this helps somone else. - spony
01/07/2004 (10:11 am)
Problem finnaly solved thanks to a friend of mine.As i had been suspecting for a long time the game simply can't find the tls openGL files. Now for those of you out there who would prefer not scouring forums for several hours to no avail, here is the simple fix (in debian anyway).
Open a command promt and type this:
export LD_ASSUME_KERNEL=2.2.5
And you should be good to go, you must however also start thinktanks from the same command promt. Well hope this helps somone else. - spony
spony
Just compiled a kernel 2.4.22 and a custom nvidia graphics driver for my 5600 FX.
Likewise I have no problems running for example tuxracer.
These are the openGL libraries installed: /usr/lib/libGL.so, /usr/lib/libGL.so.1 and /usr/lib/libGL.so.1.0.4496
Also I've noticed I have these: /usr/lib/tls/libGL.so, /usr/lib/tls/libGL.so.1 and /usr/lib/tls/libGL.so.1.0.4496
I've also tried doing this before starting the game as some forums have advised: "export LD_PRELOAD=/usr/lib/libGL.so; thinktanksdemo"
Which gives me this: "/bin/sh: relocation error: /usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0"
Anyways i'm at a loss, thanks for the help - spony