Compiling Sandbox 2.1 beta [www.kids.platinumarts.net]
Downloaded Platinum Arts Sandbox 2.1 beta multiplatform version. On Ubuntu 7.10 (Gutsy) I had problems running it out of the box. After I fixed the permissions I got this error message. ./bin_unix/native_client ./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory So I checked to see what it was linked againt. ldd bin_unix/native_client linux-gate.so.1 => (0xffffe000) libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7e44000) libSDL_image-1.2.so.0 => not found libSDL_mixer-1.2.so.0 => /usr/lib32/libSDL_mixer-1.2.so.0 (0xf7dd5000) libz.so.1 => /usr/lib32/libz.so.1 (0xf7dc0000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7d2a000) libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7ca7000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7bb4000) libm.so.6 => /lib32/libm.so.6 (0xf7b8f000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7b83000) libc.so.6 => /lib32/libc.so.6 (0xf7a39000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7948000) libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7882000) libdl.so.2 => /lib32/libdl.so.2 (0xf787e000) libdirectfb-0.9.so.25 => /usr/lib32/libdirectfb-0.9.so.25 (0xf7827000) libfusion-0.9.so.25 => /usr/lib32/libfusion-0.9.so.25 (0xf7820000) libdirect-0.9.so.25 => /usr/lib32/libdirect-0.9.so.25 (0xf7811000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf77f9000) libvorbisfile.so.3 => not found libvorbis.so.0 => not found libogg.so.0 => not found libsmpeg-0.4.so.0 => not found libGLcore.so.1 => /usr/lib32/libGLcore.so.1 (0xf6e60000) libnvidia-tls.so.1 => /usr/lib32/tls/libnvidia-tls.so.1 (0xf6e5e000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6e50000) /lib/ld-linux.so.2 (0xf7ee5000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6e4c000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6e47000) In the end I recompiled it. I had to install several SDL libraries to get it to build. libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2dev Installation of these also installed the following packages on my computer libjpeg62-dev libsdl-image1.2-dev libtiff4-dev libtiffxx0c2 libogg-dev libsdl-mixer1.2 libsmpeg-dev libsmpeg0 libvorbis-dev I installed g++ also to get it to compile. I had to also change permissions on Sandbox2.1/src/enet/configure to make it executable. LATER that same day.... I unzipped the 2.1 beta again, to see if, now that the libraries are definitely installed since building myself works fine. dave@escher:~/software/Sandbox2.1$ ./bin_unix/native_client -t bash: ./bin_unix/native_client: Permission denied dave@escher:~/software/Sandbox2.1$ ./sandbox_unix bash: ./sandbox_unix: Permission denied dave@escher:~/software/Sandbox2.1$ chmod +x sandbox_ sandbox_kart_unix sandbox_unix dave@escher:~/software/Sandbox2.1$ chmod +x sandbox_unix dave@escher:~/software/Sandbox2.1$ ./sandbox_unix ./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory dave@escher:~/software/Sandbox2.1$ chmod -R +x bin_unix dave@escher:~/software/Sandbox2.1$ ./bin_unix/native_client -t ./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory I looked on http://www.kids.platinumarts.net/wiki/index.php?title=Bug_reports and it says sandbox_unix will fix permissions, but it did not work for me. It also says bin_unix/native_client will run without changing permissions, but I did not see that either. NOTE: This is on AMD64 Ubuntu 7.10 now that I think of it, so most likely explanation is that the binaries are 32 bit. Suspicion confirmed: (07:47:39 PM) eihrul: the binaries are 32 bit It works fine if I compile myself.
12:34 PM, 09 Mar 2008
by dave bauer
Permalink
| Comments (0)
categories:
Technology and Education
,
Learning
| March 2008 | ||||||
| S | M | T | W | T | F | S |
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||