Author Topic: Supertux Game: "can't Load .."  (Read 7352 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Supertux Game: "can't Load .."
« on: June 17, 2006, 06:26:46 pm »
Hello,

I have tried to install and run Supertux_0.1.2-3_arm.ipk.
Installation went fine, SDL libs are installed, after getting an unresolved symbol "gzungetc" I compiled and installed the latest zlib (the zlib I found as an IPK didn't solve the problem (1.2.2 or so), it seems not to contain this symbol).

Now I get the following error:

Code: [Select]
Error: Can't load
/home/QtPalmtop/bin/../share/supertux/images/background/arctis2.jpg

Aborted

(On another machine I tried to install and run it a MOD file could not be loaded, same error message).
I have checked: The files exist.

Any ideas what could cause this behavior?
THe first machine I'm talking about is a C3100 with Cacko 1.23, the second one a C3000 with Caco 1.23beta1

Thanks!
daniel
« Last Edit: June 17, 2006, 06:27:14 pm by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux Game: "can't Load .."
« Reply #1 on: July 28, 2006, 03:44:57 pm »
Hmm, it's most likely still a dependency problem. Please check if you have anything missing at the following URL:
http://www.elsix.org/index.php?w=project&p=supertux

Since it's a JPEG that fails, check if you have libjpeg installed. The command 'ldd /opt/QtPalmtop/bin/supertux' includes a reference to libjpeg.so.62, so that file should be present.
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux Game: "can't Load .."
« Reply #2 on: August 02, 2006, 08:38:46 am »
Quote
Thanks.
Now I get another error about the undifined symbol "gzungetc".
I installed zlib_1.1.2_arm.ipk before.

Do I need another zlib package?

Thanks
daniel

The minimum version of zlib required is 1.1.4, but I'm using 1.2.2. As far as I know, the Cacko ROM includes this already (I'm running Cacko 1.22, so I'm not 100% sure about Cacko 1.23).

However, if you have ever installed a zlib ipk on that ROM, you "overwrite" the zlib from the ROM itself. The ROM zlib version does not get restored if you uninstall a zlib ipk. You have to manually create the symlinks again. I have the following symlinks in /usr/lib/:

Code: [Select]
lrwxrwxrwx    1 root     root           13 Feb 12  2005 /usr/lib/libz.so -> libz.so.1.2.2
lrwxrwxrwx    1 root     root           13 Feb 12  2005 /usr/lib/libz.so.1 -> libz.so.1.2.2
lrwxrwxrwx    1 root     root           26 Feb 12  2005 /usr/lib/libz.so.1.2.2 -> /usr/lib.rom/libz.so.1.2.2
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Supertux Game: "can't Load .."
« Reply #3 on: August 02, 2006, 11:51:24 am »
Quote
The minimum version of zlib required is 1.1.4, but I'm using 1.2.2. As far as I know, the Cacko ROM includes this already (I'm running Cacko 1.22, so I'm not 100% sure about Cacko 1.23).

However, if you have ever installed a zlib ipk on that ROM, you "overwrite" the zlib from the ROM itself. The ROM zlib version does not get restored if you uninstall a zlib ipk. You have to manually create the symlinks again. I have the following symlinks in /usr/lib/:

Code: [Select]
lrwxrwxrwx    1 root     root           13 Feb 12  2005 /usr/lib/libz.so -> libz.so.1.2.2
lrwxrwxrwx    1 root     root           13 Feb 12  2005 /usr/lib/libz.so.1 -> libz.so.1.2.2
lrwxrwxrwx    1 root     root           26 Feb 12  2005 /usr/lib/libz.so.1.2.2 -> /usr/lib.rom/libz.so.1.2.2
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137237\"][{POST_SNAPBACK}][/a][/div]

Sorry - the message you replied to was deleted by me shortly after i wrote it, becasue I realized that I was at this point before (see first posting) ;-)

Now I'm at the same stage (arctis2.jpg ont loadable).

libjpeg is there.
libpng too.

Could it be an SDL problem?
I have installed:

libSDL-image 1.2.5cvs1
libSDL-micer 1.2.5cvs1
libSDL-net 1.2.5cvs1
libsdl 1.2.5-slzaurus20050410

Thanks
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux Game: "can't Load .."
« Reply #4 on: August 03, 2006, 03:05:46 am »
Quote
Sorry - the message you replied to was deleted by me shortly after i wrote it, becasue I realized that I was at this point before (see first posting) ;-)

Now I'm at the same stage (arctis2.jpg ont loadable).

libjpeg is there.
libpng too.

Could it be an SDL problem?
I have installed:

libSDL-image 1.2.5cvs1
libSDL-micer 1.2.5cvs1
libSDL-net 1.2.5cvs1
libsdl 1.2.5-slzaurus20050410

Thanks
daniel
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hmm, I checked what errors you would get if a library is missing, and it's not anything like your error. The kind of error you get is more like having a wrong version of a library and supertux only finds out if it tries to use the library for loading stuff. I've the following libraries installed:

libSDL-image_1.2.3-1
libSDL-mixer_1.2.6-zports-1

The main libSDL is already included in the Cacko 1.22 ROM. There may be problems with your version of libSDL-image. Can you try the 1.2.3-1 version? You can get it here:
[a href=\"http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/]http://ssel.vub.ac.be/Members/DennisWagela...ownload/zaurus/[/url]

I also found a report on getting supertux to work on the stock ROM of an SL-C3000. You could try those instructions as well:
http://www.users.on.net/~hluc/myZaurus/custom.html#supertux
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Supertux Game: "can't Load .."
« Reply #5 on: August 03, 2006, 07:57:48 am »
Quote
Hmm, I checked what errors you would get if a library is missing, and it's not anything like your error. The kind of error you get is more like having a wrong version of a library and supertux only finds out if it tries to use the library for loading stuff. I've the following libraries installed:

libSDL-image_1.2.3-1
libSDL-mixer_1.2.6-zports-1

The main libSDL is already included in the Cacko 1.22 ROM. There may be problems with your version of libSDL-image. Can you try the 1.2.3-1 version? You can get it here:
http://ssel.vub.ac.be/Members/DennisWagela...ownload/zaurus/

I just tried both of your different libSDL versions to no avail. Same error.

Quote
I also found a report on getting supertux to work on the stock ROM of an SL-C3000. You could try those instructions as well:
http://www.users.on.net/~hluc/myZaurus/custom.html#supertux
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137312\"][{POST_SNAPBACK}][/a][/div]

Also that modificatoin of the sh script does not lead to success.
Strange.
Am I the only one who has this problem?

Maybe I'll try on a fresh Cacko install on my backup unit some day.

Thanks for your help so far. Please let me know if you have more ideas.
It's not that important for me to install a game, but especially supertux would be nice because these are the kinds of games I like to play from time to time.


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 Game: "can't Load .."
« Reply #6 on: August 07, 2006, 05:28:37 am »
dwagelaar,

please could you test your java applications if you have some? When I install libjpeg no java application will work.

thanks,
climber
« Last Edit: August 07, 2006, 05:29:09 am by climber »

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux Game: "can't Load .."
« Reply #7 on: August 16, 2006, 06:12:52 am »
Quote
dwagelaar,

please could you test your java applications if you have some? When I install libjpeg no java application will work.

thanks,
climber
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137649\"][{POST_SNAPBACK}][/a][/div]

I'm using J2ME Personal Profile, which works without problems on Cacko 1.22, which has libjpeg built in.
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

agoodm

  • Newbie
  • *
  • Posts: 22
    • View Profile
Supertux Game: "can't Load .."
« Reply #8 on: September 18, 2006, 07:13:39 pm »
Was this ever resolved, I have this arctis error too

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux Game: "can't Load .."
« Reply #9 on: September 19, 2006, 04:24:19 am »
Quote
Was this ever resolved, I have this arctis error too
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141753\"][{POST_SNAPBACK}][/a][/div]
I don't think so. Perhaps daniel3000 managed to get it working with a fresh install? I'm still suspicious of libSDL-image and libjpeg. Perhaps things go wrong if libSDL-image is compiled on top of another version of libjpeg than the one that is installed? All I know is that the libSDL-mage_1.2.3-1 I use was built against libjpeg_6b: ldd gives the following:

Code: [Select]
$ ldd /opt/QtPalmtop/lib/libSDL_image-1.2.so.0.1.2
        libjpeg.so.62 => /home/QtPalmtop/lib/libjpeg.so.62 (0x40021000)
        libpng12.so.0 => /home/QtPalmtop/lib/libpng12.so.0 (0x40047000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40483000)
        libSDL-1.2.so.0 => /home/QtPalmtop/lib/libSDL-1.2.so.0 (0x4049d000)
        libqpe.so.1 => /home/QtPalmtop/lib/libqpe.so.1 (0x404ea000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40673000)
        libc.so.6 => /lib/libc.so.6 (0x40691000)
        libm.so.6 => /lib/libm.so.6 (0x407ac000)
        libdl.so.2 => /lib/libdl.so.2 (0x407da000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x407e5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Supertux Game: "can't Load .."
« Reply #10 on: September 19, 2006, 05:35:36 am »
if you download all my snes emulator package and install everything in there exactly like i stated, it will run supertux.  it will also run billiards.

Here is the list

libmad_0.15.0b-zports-0_arm.ipk
libSDL_1.2.6-zports-5_arm.ipk      or      libsdl_1.2.5-slzaurus20050410_arm.ipk
libSDL-mixer_1.2.6-zports-0_arm.ipk
libSDL-image_1.2.5cvs-1_arm.ipk
libpng3_1.2.4-1_arm.ipk
« Last Edit: September 19, 2006, 06:33:09 am by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Supertux Game: "can't Load .."
« Reply #11 on: September 19, 2006, 11:20:23 am »
A bit off topic.
Anyone know what this file is used for?
supertux-0.1.2-fp.patch.gz

It's located here with supertux_0.1.2-3_arm.ipk
http://ssel.vub.ac.be/Members/DennisWagela...ownload/zaurus/

I'm not going to use it, but have downloaded it, in case it gets mentioned.

I just installed supertux, and I already have the libraries installed that Cresho mentioned above.
I installed the snes package properly. All the emulators work as they are supposed to work.
I have a C3100 running Cacko Lite 1.23
I'm getting this error:
I could not load icon image /home/QtPalmtop/bin/../data/images/icon.xpm
The simple DirectMedia error that occured was:
Couldn't open /home/QtPalmtop/bin/../data/images/icon.xpm

EDIT: I just found the location of icon.xpm here:
/home/QtPalmtop/share/supertux/images/icon.xpm
Maybe it's a permission issue? I'll try relaxing permissions in that directory.
That didn't work.
Also the directory under /home/QtPalmtop/share/ called /supertux, must be the cramfs image.
I couldn't change permissions there.

The supertux.cramfs image is mounted in 3 places, (in sysinfo).
/dev/loop3 cramfs ro
/dev/loop2 cramfs ro
/dev/loop1 cramfs ro
Could this be because of several failed attempts to get supertux to run?

EDIT2: A reboot unmounted the 3 instances of supertux.cramfs.
I'll do some more searching, (here in the forums), before I attempt to launch supertux again.

EDIT3: after searching..
dwagelaar
I read your post about my error mentioned above here:
https://www.oesf.org/forums/index.php?showt...indpost&p=67841
Supertux mounts the cramfs file, but it gives me the above error.
I used the console to launch supertux.sh
If I try to launch it from the icon, it mounts the cramfs file again, and nothing else happens.
Every instance of launching supertux causes one additional mount of /dev/loopx cramfs ro

EDIT4: I tried to unmount supertux manually, using the last line in supertux.sh
su
sudo umount ${BASE}share/supertux
mount: /home/zaurus/share: No such file or directory

I assume the reason the above won't unmount the cramfs, is because my "share" directory is here:
/home/QtPalmtop/share/
Supertux is mounted below there. (The cramfs file is also located there)
« Last Edit: September 19, 2006, 01:34:07 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Supertux Game: "can't Load .."
« Reply #12 on: September 19, 2006, 05:48:03 pm »
Quote
if you download all my snes emulator package and install everything in there exactly like i stated, it will run supertux.  it will also run billiards.

Here is the list

libmad_0.15.0b-zports-0_arm.ipk
libSDL_1.2.6-zports-5_arm.ipk      or      libsdl_1.2.5-slzaurus20050410_arm.ipk
libSDL-mixer_1.2.6-zports-0_arm.ipk
libSDL-image_1.2.5cvs-1_arm.ipk
libpng3_1.2.4-1_arm.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141779\"][{POST_SNAPBACK}][/a][/div]



well, i was pissed off, so I figured I would reinstall the thing and try it.

IT WORKS!

J JON shed some light to me as well, and i figured out the extra libraries needed.

ontop of the ones posted up in addidion, you will need...
sudo_0.1_arm.ipk
zlib_1.2.3-1_arm.ipk

and DO NOT LAUNCH FROM THE TERMINAL!  launch from the application icon.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Supertux Game: "can't Load .."
« Reply #13 on: September 19, 2006, 06:01:11 pm »
Quote
J JON shed some light to me as well, and i figured out the extra libraries needed.

ontop of the ones posted up in addidion, you will need...
sudo_0.1_arm.ipk
zlib_1.2.3-1_arm.ipk

and DO NOT LAUNCH FROM THE TERMINAL!  launch from the application icon.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141818\"][{POST_SNAPBACK}][/a][/div]

Cresho, I was informed that Cacko already has Sudo installed, (but is a scaled down version).
I have not installed Sudo.
The thread also mentioned NOT to install Sudo in Cacko. I think it is in Meanie's "X/QT jumbo package" thread.
I have zlib_1.2.3-1_arm.ipk installed

Thank you for your help,
Jon
« Last Edit: September 19, 2006, 06:03:16 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Supertux Game: "can't Load .."
« Reply #14 on: September 19, 2006, 06:21:14 pm »
I got it working!
Using Meanie's guide, (I followed this guide in latest zbook3k.pdf)
(I did not need to configure sudo, in Cacko)

Installing Supertux
Once you have installed supertux you need to change /home/QtPalmtop/bin/supertux.sh
(this assumes you already have sudo configured to allow you to mount and unmount, see sudo section):

Code: [Select]
#!/bin/sh -e
BASE=`grep "/QtPalmtop/$" /usr/lib/ipkg/info/supertux.list | tail -n 1`
#sudo mount ${BASE}share/supertux.cramfs ${BASE}share/supertux -o ro,loop
sudo mount ${BASE}share/supertux.cramfs ${BASE}data -o ro,loop
supertux
#sudo umount ${BASE}share/supertux
sudo umount ${BASE}data

the 2 lines that are changed/commented out, replaces:

share/supertux
with
data
« Last Edit: September 19, 2006, 06:23:16 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers