Author Topic: Supertux - Libsdl Error  (Read 2340 times)

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Supertux - Libsdl Error
« on: July 25, 2006, 07:15:04 am »
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

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Supertux - Libsdl Error
« Reply #1 on: July 25, 2006, 08:14:04 am »
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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Supertux - Libsdl Error
« Reply #2 on: July 25, 2006, 09:25:05 am »
I have found the "libSDL-1.2.so.0.0.5" file. To which folder should I copy this file?

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Supertux - Libsdl Error
« Reply #3 on: July 25, 2006, 02:02:17 pm »
look for the libsdl*.ipk and install
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Supertux - Libsdl Error
« Reply #4 on: July 26, 2006, 03:43:09 am »
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

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Supertux - Libsdl Error
« Reply #5 on: July 26, 2006, 04:00:20 am »
Quote
...
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136438\"][{POST_SNAPBACK}][/a][/div]

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
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Supertux - Libsdl Error
« Reply #6 on: July 26, 2006, 04:59:01 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

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Supertux - Libsdl Error
« Reply #7 on: July 26, 2006, 08:43:31 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136446\"][{POST_SNAPBACK}][/a][/div]

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
« Last Edit: July 26, 2006, 08:44:47 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Supertux - Libsdl Error
« Reply #8 on: July 28, 2006, 06:34:04 am »
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