Click to See Complete Forum and Search --> : quake 3 libGL probs


Tjoh311
10-01-2006, 11:04 PM
Hey everyone,

I wanted to get quake3 running on my machine so me and a few friends could have a little throwdown next weekend. However, I ran into a little snag. I'm running Ubuntu. 2.6 kernel. I know my Nvidia drivers are installed correctly. But now I'm having a hard time finding libGL.so. I haven't tried to install on such a new distro before tonight. Here is the error.

roy@troy-desktop:~$ quake3
Q3 1.11 linux-i386 Nov 24 1999
----- FS_Startup -----
Current search path:
/home/troy/.q3a/baseq3
./baseq3/pak0.pk3 (3539 files)
./baseq3

----------------------
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: localhost
Alias: troy-desktop
Alias: troy-desktop
IP: 127.0.0.1
IP: 127.0.1.1
----- R_Init -----
...loading libGL.so: QGL_Init: Can't load libGL.so from /etc/ld.so.conf or current dir: /usr/local/games/quake3/libGL.so: cannot open shared object file: No such file or directory
failed
...loading libMesaVoodooGL.so: QGL_Init: Can't load libMesaVoodooGL.so from /etc/ld.so.conf or current dir: /usr/local/games/quake3/libMesaVoodooGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Error: GLimp_Init() - could not load OpenGL subsystem

troy@troy-desktop:~$ opengl
bash: opengl: command not found
troy@troy-desktop:~$


any help would be appreciated.
TIA
Troy

je_fro
10-02-2006, 02:31 AM
you need the nvidia glx libs too...

Icarus
10-02-2006, 08:14 AM
First question should be, what video card do you have? Older nvidia cards do not work with the new drivers (I don't know what the 'oldler cards' are though) and they need to use the legacy drivers from nvidia.

Second would be did you edit the /etc/X11/xorg.conf for use with the nvidia driver?

http://albertomilone.com/nvidia_scripts1.html
This guy wrote a python script to install the nvidia drivers on ubuntu to make it easier to install and setup for people

JayMan8081
10-02-2006, 10:33 AM
If you look in Synaptic and search for nvidia in the package names you should see nvidia-glx and nvidia-glx-legacy as two listed packages. The description for nvidia-glx-legacy tells you which video cards need this package. That is the 'older cards' driver that Icarus was talking about. Anything pretty recent will use the nvidia-glx package. Once you have that installed you should be able to just edit your xorg.conf file and be ready to go. There should be a link in /usr/lib/ that points to libGL.so.1. HTH.