Help - Search - Members - Calendar
Full Version: Supertux - Libsdl Error
OESF Forums > General Forums > General Support and Discussion > Software
climber
Hi,

I 've installed the game SuperTux on my SL-C3100 & Cacko 1.23 as follows:


supertux_0.1.2-2_arm.ipk
libSDL-image_1.2.3-0_arm.ipk
libSDL-mixer_1.2.6-zports-1_arm.ipk

Then ran these commands:

ln -s /usr/QtPalmtop.rom/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig


When I want to start this application I got the following error:


#supertux
suptertux: error while loading shared libraries: libSDL-1.2.so.0: cannot load shared object file: No such file or directory



What 's going wrong? Could someone help me to solve this problem?


Thanks
climber
iamasmith
Well it looks like although you have SDL-image and SDL-mixer you don't actually have the basic SDL library there.

Search for libSDL-1.2.<various> if you find them make a sym link to the library from libSDL-1.2.so.0, if not find an IPK of the base SDL. I suggest the zports one if you are using the zports mixer.

I can't remember if Anton included base SDL libraries in the ROM for 1.23.

-Andy
climber
I have found the "libSDL-1.2.so.0.0.5" file. To which folder should I copy this file?
bam
look for the libsdl*.ipk and install
climber
When I start supertux from the shell I got the following message:

Display size = 480x460
Datadir: /home/QtPalmtop/bin/../share/supertux
Warning: Unable to open file "/home/zaurus/.supertux/config" for read!!!
[I checked this file and it doesn 't exist]
..
..
Error: I could not load the icon image: /home/QtPalmtop/bin../share/supertux/images/icon.xpm
The Simple DirecMedia error that occured was:
Couldn 't open /home/QtPalmtop/bin/../share/supertux/images/icon.xpm


Very courious, so what can I do anymore???

Thanks
climber
daniel3000
QUOTE(climber @ Jul 26 2006, 09:43 AM)
...
Error: I could not load the icon image: /home/QtPalmtop/bin../share/supertux/images/icon.xpm
The Simple DirecMedia error that occured was:
Couldn 't open /home/QtPalmtop/bin/../share/supertux/images/icon.xpm


Very courious, so what can I do anymore???

Thanks
climber
*


I have also seen that error, sometimes with xpm files, sometimes with mod music files, and I never got supertux to run.

Any hint would be greatly appreciated by me, too.

daniel
climber
I just installed this file: zlib-dev_1.2.2-1_arm.ipk and wow, it works :-)

Daniel, try it and write us if it also works for you.


Thanks
climber
daniel3000
QUOTE(climber @ Jul 26 2006, 10:59 AM)
I just installed this file:  zlib-dev_1.2.2-1_arm.ipk    and wow, it works :-)

Daniel, try it and write us if it also works for you.


Thanks
climber
*


Hi Climber,

I did as you suggested, but I still get the same error.
What else did you change between the status of non-working supertux and working supertux?

BTW I could not imagine how zlib-dev should help here. It just contains the files zconf.h and zlib.h, which, to my knowledge, are only relevant if you compile something.

Well, or - did you compile supertux by yourself?
I have installed the IPK..

daniel
climber
Daniel,

sorry for answering so late! It 's difficult to rember all the things I did to get it work. One of the last things I did was to uninstall supertux_0.1.2-2_arm.ipk and install the new version supertux_0.1.2-3_arm.ipk.

Did you ran the following command "ln -s /usr/QtPalmtop.rom/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig" ?


climber
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.