LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   installing a dependency (libsfml-graphics.so.1.5) (https://www.linuxquestions.org/questions/puppy-71/installing-a-dependency-libsfml-graphics-so-1-5-a-812292/)

den_. 06-05-2010 07:09 AM

installing a dependency (libsfml-graphics.so.1.5)
 
Hi, I have unpacked the t gar.gz for a game called FreeTumble, when I try to run the game with './FreeTumble' in the console (rxvt) I get the following error message: ./FreeTumble: error while loading shared libaries: libsfml-graphics.so.1.5: can not open shared object file: no such file or directory.
I have tried to look for the libsfml package with no luck, I think I need to find this package and save/install it in the /lib folder.

Thanks in advance for any help or advice

den_.

knudfl 06-05-2010 08:49 AM

FreeTumbleV1.0_Linux32.tar.gz ?
http://sourceforge.net/projects/freetumble/files/

Unknown version of Puppy ?
http://linuxsilo.net/docs/smart-questions_en.html

Try these :
http://packages.ubuntu.com/lucid/i38...cs1.5/download
http://packages.ubuntu.com/lucid/i38...ow1.5/download
http://packages.ubuntu.com/lucid/i38...em1.5/download
http://packages.ubuntu.com/lucid/i38...io1.5/download
http://packages.ubuntu.com/lucid/i386/libsoil1/download
http://packages.ubuntu.com/lucid/i38...enal1/download

Unpack, and copy libsfml-graphics.so.1.5 + libsfml-window.so.1.5
+ libsfml-system.so.1.5 + libsfml-audio.so.1.5 + libSOIL.so.1
+ libopenal.so.1 to /usr/lib/

If they don't work, tell which Puppy, you have.
And the glibc version, please, like : ls -l /lib/libc.so.6
..
P.S. : The game works OK .. :)

den_. 06-05-2010 11:53 AM

Sorry I didn't mention the puppy version its Puppy 4.3.1. I have installed the files you suggested but unfortunately the error now reads './FreeTumble: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: no such file or directory.
I searched on the Ubuntu package site but it failed to find the needed file.

den_. 06-05-2010 11:58 AM

ps. cant find the lib/libc.so.6 version, is it a command line entry to find it?

knudfl 06-05-2010 12:41 PM

Puppy 4.0.0 : Command = ls -l /lib/libc.so.6 :
Works OK, the reply is : libc.so.6 -> libc-2.6.1.so

Finding an Ubuntu package : Google .. libglew ubuntu ..
http://packages.ubuntu.com/hardy/libglew1.5

libglew1.5 ( From Ubuntu Hardy ) :
http://packages.ubuntu.com/hardy/i38...ew1.5/download

But if the glibc still is that old, I doubt you can use the files.
Only 'Ubuntu Lucid' and Mandriva 2010.(1) has the sfml + SOIL files
in the required versions.
sfml + SOIL : Tricky to build, but it's doable.
But first we need to know the glibc / libc'6' version.

knudfl 06-05-2010 12:50 PM

Check 1 : libsoil1 , Lucid : depends libc6 (>= 2.4) → → OK.

Check 2 : libsfml-system1.5, Lucid : depends libc6(>= 2.3.6-6~) [i386]
........... Also OK.

Please continue, FreeTumble may work with those anyway.
.

den_. 06-05-2010 02:38 PM

Thanks for your continued help it is much appreciated. After typing ls -l /lib/libc.so.6 at the console I got the response: libc-2.6.1.so. Installed the libglew 1.5 package but unfortunately there is yet another error: same as before but reference to: libGLU.so.1.
I couldn't find libGLEW.1.5 on the Ubuntu site, am I using in the wrong way? It seems that it is necessary to search for these files from time to time but I seem to draw a blank when I search for them!

den_. 06-05-2010 02:53 PM

I tried again to search for the required packake 'libglu' and got a result by searching for 'package names', downloaded and installed 'libglu1-mesa_7.7.1-1ubuntu2_i386.deb' now I have a list of new errors (5 of).
Thank you for your help but I can't ask you to do any more for me, I will make some further studies on dependencies and maybe find another small game that I can learn from.

Thanks

den_.


All times are GMT -5. The time now is 01:31 AM.