LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RTCW can not find mesalib nor config file (https://www.linuxquestions.org/questions/linux-newbie-8/rtcw-can-not-find-mesalib-nor-config-file-18984/)

Rodcl 04-20-2002 09:30 AM

can not run return to castle wolfenstein
 
some of you out there may say : just play it on windows and it is sorted
but i want to see how linux handles the graphics on this kind of games (never actually got one working) just tuxracer.
they say is faster than windows.
the distro in use is suse 7.3
dual processor PIII 1Gig
256 MB
latest driver for my geforce 2 mx400 (hardware accelaration is enabled)
after running the binaries which includes single player mode i moved all the files to /usr/local/games/wolfenstein/main as requiered by the documentation. opened a terminal and typed wolf and this came along:

rodro@linux:/usr/local/games/wolfenstein>wolf
Wolf 1.1b linux-i386 Jan 17 2002
-----FS_Startup----
Current search path:
/home/rodro/.wolf/main
/usr/local/games/wolfenstein/main/mp_pakmaps0.pk3 (21 files)
/usr/local/games/wolfenstein/main/mp_pakmap2.pk3 (3 files)
/usr/local/games/wolfenstein/main/mp_pakmap1.pk3 (308 files)
/usr/local/games/wolfenstein/main/mp_pakmap0.pk3 (783 files)
/usr/local/games/wolfenstein/main/pak0.pk3 (4775 files)
/usr/local/games/wolfenstein/main
./wolf .x86/main
-----------------------
5890 files in pk3 files
execing default.cfg
couldn't exec language.cfg
execing wolfconfig_mp.cfg
could't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Joystick is not active.
Bypassing CD checks
-----Client Initialization-----
-----Initializing Renderer----
-----------------------------
Loaded 714 translation strings from scripts/translation.cfg
----Client Initialization Complete -----
----R_Init -----
...loading libGL.so: QGL_Init: Can't load libGL.so from /etc/ld.so.conf or current
dir: /usr/local/games/wolfenstein/libGL.so: cannot open shared object file: No such file or
directory
failed
...loading libMesaVoodooGL.so.3.1: QGL_Init: Can't load libMesaVoodooGL.so.3.1 from
/etc/ld.so.conf or current dir: /usr/local/games/wolfenstein/libMesaVoodooGL.so.3.1: cannot
open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error:GLimp_Init( 1 ) - could not load OpenGL subsystem


rodro@linux:/usr/local/games/wolfenstein>


and the weird thing is that i got the opengl drivers installed!!

I have not a clue what to do now :confused:
another failed atempt on running cool games like this on linux but i won't give up!!!

:newbie:

Rodcl 04-21-2002 01:51 PM

??
 
according to a program i was compiling (mplayer) there was no openGL instaled, but the latest drivers from nvidia are supposed to include them, is there any way i can make the system to recognise these drivers ?

spooge 04-21-2002 04:39 PM

you didn't say you copied the pak files.

you still need to copy some pak files from a windows install.
the binaries are missing some needed pak files.

it took me a while to figure it out ( mostly by asking)
upgrade xfree
upgrade nvidia divers
load wolf
copy pak files

Aussie 04-22-2002 04:37 AM

If you've installed the latest nvidia drivers then the problem could be some left over mesa openGL libs, download and run nv_check.sh to check the install for stray libs. When I run RTCW I do "wolfsp" for single player and "wolfmp" for multiplayer.

Rodcl 04-23-2002 06:30 AM

i have done what you have suggested, i used the nv_check.sh and my drivers seemed alright but there was one part were it could'nt find the libGL.so
in the /usr/lib
after a manual search for this libGL.so, i found it in usr/X11R6/moonlight/
and further search i found this libGL.so.1!? in the usr/lib/ which may be a newer or different version of this file.
when i copied the files i needed from the win32 install
i got the same message but now is asking for opengl32!?
which is found in my wine directory ?!!
i am getting more confused!!!
according to nv_check.sh i should get this lbGL.so from the GLXdriver
but the GLXdrivers provides libGL.so.1

Aussie 04-23-2002 06:47 AM

The nvidia readme (/usr/doc/NVIDIA_GLX-1.0/README) has a list of installed components, check that to see if they are all there. Did you install the nvidia drivers from source or by rpm?

Rodcl 04-23-2002 08:50 AM

i'll check the README later on (i am not in front of my linux box)
i intalled the driver from rpm



i won't give up !!! i'll get this working !!!!!

Aussie 04-23-2002 08:52 AM

I always use the nvidia source packages, they always seem to work better that the rpm's.

Rodcl 04-23-2002 04:40 PM

i have read the README file and the GLXdriver provides libGL.so.1!
i don't know whether this is the problem, but my guess is that if this is the problem there should be a way of getting RTCW to use libGL.so.1 instead of libGL.so, any idea how can i get this working?

Aussie 04-23-2002 04:53 PM

Make a symlink, that should be enough to fool the game into running :)

Rodcl 04-24-2002 06:49 AM

i'll do the symlink, because i am still a :newbie: please check if the command i'll issue is correct, given usr/local/games/wolfenstein
the directory where the game is, and usr/lib/libGL.so.1 where all the opengl libs are e.g libGL.so.1, libGLcore.so etc.
then it should be something like this:

ln -s usr/local/games/wolfenstein usr/lib/libGl.so.1

i don't know whether this is correct. by the way if RTCW keeps looking for libGL.so can i rename the link to libGL.so ?

ln -s usr/local/games/wolfenstein/libGL.so usr/lib/libGL.so.1 ?


thanks for you help

c0n 04-24-2002 07:06 AM

Rodcl, here is a link for install
 
check out this link to idsoftware's install instructions.....

http://zerowing.idsoftware.com/linux/wolf/INSTALL

i used this at home after installing the Detonators for my GeForce and RTCW runs at least 2times as fast in Linux than in Win....hope this helps....

c0n 04-24-2002 07:09 AM

Oh, one more thing.....
 
I don't know if this will help or not, but when I load rtcw, I have to either type wolfmp (multiplayer) or wolfsp (singleplayer)......

Rodcl 04-24-2002 07:32 AM

thanks for your help c0n but all this is done but still won't work
the problem is that RTCW cannot find the riquired file libGL.so
and in my system is called libGL.so.1

Aussie 04-24-2002 07:42 AM

The correct command is "ln -s /usr/lib/libGL.so.1 /usr/lib/GL.so" you want to create a link called libGL.so that points to libGLso.1. They both have to be in the same directory (/usr/lib) because that's where wolf is looking when you start it. And I do wolfsp and wolfmp for single and multi as well.


All times are GMT -5. The time now is 10:19 PM.