Topic: Build 14 on Ubuntu Karmic AMD64 -> libSDL_gfx.so.4: cannot open shared object file: No such file or directory
realstarman2 Topic Opener |
Posted at: 2010-01-05, 13:10
Hi, Following the FAQ, I downloaded build 14 for Linux, installed the packages and tried running it on my Ubuntu Karmic Koala AMD64 distribution. Although, there is a link in /usr/lib/libSDL_gfx.so.4 pointing to the linSDL_gfx.so.13.5.1, I get the above mentioned error when running widelands: spolysiu@anthem:~/widelands$ ./widelands ./widelands: error while loading shared libraries: libSDL_gfx.so.4: cannot open shared object file: No such file or directory Just to make sure that I am in the right directory, etc: spolysiu@anthem:~/widelands$ ls campaigns COPYING fonts locale music sound txts widelands ChangeLog CREDITS global maps pics tribes VERSION worlds spolysiu@anthem:~/widelands$ ls -la wide* -rwxr-xr-x 1 spolysiu spolysiu 4819008 2009-09-27 17:45 widelands To make sure that I have the right package installed, I removed libsdl-gfx1.2-4 and reinstalled it: sudo apt-get remove libsdl-gfx1.2-4, sudo apt-get install libsdl-gfx1.2-4 -> both worked fine, no errors. I also removed the link /usr/lib/libSDL_gfx.so.4 and recreated it with: sudo ln -s /usr/lib/libSDL_gfx.so.13.5.1 /usr/lib/libSDL_gfx.so.4 ls -l /usr/lib/libSDL_gfx* shows that the link exists.... spolysiu@anthem:/usr/bin/widelands$ ls -l /usr/lib/libSDL_gfx* lrwxrwxrwx 1 root root 20 2010-01-05 12:04 /usr/lib/libSDL_gfx.so.13 -> libSDL_gfx.so.13.5.1 -rw-r--r-- 1 root root 79048 2009-05-05 16:14 /usr/lib/libSDL_gfx.so.13.5.1 lrwxrwxrwx 1 root root 29 2010-01-05 14:05 /usr/lib/libSDL_gfx.so.4 -> /usr/lib/libSDL_gfx.so.13.5.1 I must be missing something, but can't figure out what it is... Best regards, Siegi Edited: 2010-01-05, 14:21
Top Quote |
realstarman2 Topic Opener |
Posted at: 2010-01-05, 13:11
BTW, Build 13, installed with apt works fine. I just want to be on the newest build.... Top Quote |
Nasenbaer |
Posted at: 2010-01-06, 18:53
Hi Siegi, first of all your problem really sounds strange. I can not understand, why Widelands does not find a library, if it's actually installed. Perhaps it's a version missmatch of the libSDL_gfx and just the errormessage is wrong? However I think there should be a link to a ppa that contains a deb-file for ubuntu. Can't you use that one? Or do you even have the problems with that version? Cheers Peter Top Quote |
ingo2 |
Posted at: 2010-01-24, 20:27
Seems that some applications or Ubuntu displays missleading error messages. I had the same issue here (also Karmic-amd64) with some other software. The root cause was: the lib was 64-bit, but application was expecting a ia32-lib. Installing package 'ia32-libs' solves the issue - but for sure it is not a clean solution. Maybe it is WL expecting the 32-bit version here? Ingo Top Quote |