Click to See Complete Forum and Search --> : [SOLVED] UT2004 - "error while loading shared libraries"
Arakel
03-10-2005, 10:36 AM
Sorry to bother you all again. :)
I managed to get Ut2004 installed (took a while, but I worked it out. :) )
When I try to run it, however, I get this message:
./ut2004-bin: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory
I've had a look for solutions, but relevant posts I've seen don't make much sense to me as a newbie. Can anyone help - and please bear in mind I have about 5 hours Linux experience, tops! :D
PS: I'm Using MDK 10.1. :)
Icarus
03-10-2005, 10:39 AM
Originally posted by Arakel
and please bear in mind I have about 5 hours Linux experience, tops! And you've already installed UT2004? Rock on!:cool:
I think what you are missing is the 3d acceleration drivers.
What video card do you have? If it's a faily recent nvidia or ati we'll have you fraggin in no time! :D
You might also want to look at the detailed log file in ~/.ut2004/System/UT2004.log
The console doesn't echo very much and is useless for trouble shooting UT ;)
Arakel
03-10-2005, 10:50 AM
It is a Nvidia Geforce 5950 (256 mg). :)
I already installed what I think are the latest graphics driver from Nvidia, although I am far from sure they are actually being used...
And yeah - can't live without my UT2004. ;)
I've found that, although I'm running into problems, Linux isn't nearly so complicated as people like to make out. It's just different. :)
Arakel
03-10-2005, 10:58 AM
Whoops, forgot to mention - I have no ut2004.log file...
Icarus
03-10-2005, 11:14 AM
ah, probably no log because it never really started :p
Run this at the command line and hope it says yes :)
glxinfo | grep rendering
if it says no...the video is not setup right, yet ;)
Arakel
03-10-2005, 11:26 AM
Originally posted by Icarus
glxinfo | grep rendering[/B]
direct rendering: Yes
:)
Icarus
03-10-2005, 12:06 PM
Good!
This is on Mandrake?? Odd, I though this problem only affected Gentoo people :D
Try adding
export LD_PRELOAD="/usr/lib/libGL.so"
to your ut2004 start script
whereis ut2004
ut2004: /usr/games/bin/ut2004
edit that so it looks kinda like mine here...
#!/bin/sh
export LD_PRELOAD="/usr/lib/libGL.so"
cd "/opt/ut2004"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
exec ./ut2004 "$@"
Arakel
03-10-2005, 12:12 PM
I didn't need to do the above - I just installed the ECE and latest patch, and it worked fine. :)
I didn't bother doing that beforehand because I'd heard it was the later patches which caused this issue, so I had wanted to check the base install worked first. Which it didn't. ;)
It works fine now, though, with ECE/ 3355 installed. In fact, I'd say it is running better than it did in Windoze! :D
Thanks for the help though, I really appreciate it! :)
Icarus
03-10-2005, 12:27 PM
I didn't realize you didn't patch...yeah, that would do it :)
Have fun, maybe see you later :p
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.