Tremulous Forum
General => Troubleshooting => Topic started by: kenyee on April 13, 2006, 03:59:32 am
-
Anyone else have this problem?
I found a thread on this forum that said to add /usr/lib (where this library is) to /etc/ld.so.conf and then I ran ldconfig to reload it, but I still have this problem trying to run tremulous:
tremulous: error while loading shared libraries: libSDL-1.2.so.0:cannot, open shared object file: No such file or directory. I'm using the latest Tremulous 1.1 download.
It's 64-bit Debian (Kanotix) if that matters. Is it a 32-bit shared library vs. 64-bit shared library issue? If so, does that mean I need a copy of Tremulous that's linked to the 64-bit libraries?
thanks,
ken
-
Yes it sounds like your libSDL-1.2.so could be 64-bit so it wouldn't work.
Some workarounds are:
1) put a 32-bit libSDL-1.2.so.0 file in the same directory as tremulous.x86
2) build a 64-bit tremulous.x86 (or is it tremulous.x86-64?)
3) build another 32-bit tremulous.x86 that is statically linked to libSDL.a
1 would be the simplest if you have such a file available. 2 would probably be the best, and if all else fails I can probably help you out with 3.
-
Yep, seems like that's the problem. I've been googling and found two threads related to it:
http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-03/5633.html
http://www.ubuntuforums.org/archive/index.php/t-82837.html
Unfortunately, I don't have ia32-libs-sdl on Debian.
Any other suggestions on where to get the 32-bit version? Looks like I'm running libSDL-1.2.so.0.7.2 on this 64-bit system.
No one else has tried running Tremulous on a 64-bit Linux system? :-P
-
I think at least one person got a native x86_64 version working:
http://tremulous.net/phpBB2/viewtopic.php?t=446&highlight=x8664
I just built tremulous.x86 statically against SDL 1.2.9. You can get
get it here:
http://www.tjw.org/tremulous/static-SDL/
-
That worked! I even get around 50-60 fps on a lowly 6150 (Asus A8N CSM board) at 1280x1024 (75-80 at the default of 640x480)
Thanks again.
I'm not sure why libSDL isn't included in ia32-libs...I'll see if I can bug the maintainer of that package to include it. Seems a waste to statically link it into every game since it looks like it increased the size of Tremulous from 1.6MB to 4.7MB...
-
I tried to submit a wishlist request to ia32-libs and it turns out 1.7 was just released today and includes libSDL, so we shouldn't see this problem any more :-)
-
I had this problem on a Ubuntu 6.06 x86_64 system. Just had to install the package ia32-libs-sdl and it worked.