Lua not found, yet installed
Hi,
I'm trying to install a game for the kids, fish-fillets. All seems well installed, but trying to play the game an error occurs: Code:
adri@Slackware:~$ fillets Anyone an idea? |
If you have installed liblua in /usr/local/lib (which I think is true since the binary is in /usr/local/bin) then you must add /usr/local/lib in /etc/ld.so.conf and then re-run ldconfig.
|
Thanks, but /usr/local/lib already is in /etc/ld.so.conf. :confused:
|
Run updatedb if you haven't already, then `locate liblua` to see if indeed it is actually in your machine. Also have a look in the package log to see if it came with the package:
Code:
cat /var/log/packages/<lua package name> |
Everything seems to be there:
Code:
root@Slackware:/home/adri# updatedb BTW: I've tried this with lua-5.1.1 as well. |
I'm afraid you've overlooked something:
liblua.so => not found liblualib.so => not found What's found is liblua.a Basically fillets needs a shared object (.so), but the packages you're using are static libraries (.a) .. I suggest downloading the lua source and compiling with ./configure --enable-shared ! Good luck, - Piete. |
As piete mentioned above, it seems that the shared library liblua.so does not exist in your box. You can either install it from source, or d/l the Slackware binary from here and install it using
Code:
installpkg lua-5.0.3-i486-1df.tgz |
http://www.slackbuilds.org/repository/development/lua/
http://www.slackbuilds.org/howto/ Remove all vestiges of your previous attempts first. |
OK, so I tried the SlackBuild.
Now I get: Code:
adri@Slackware:~$ fillets |
Like I said, remove *ALL* vestiges of your previous attempts.
If you have *any* files left in /usr/local from the old lua install, you *will* have troubles. Also, you will need to recompile fillet (or whatever it's called) against the new lua package just in case. |
Quote:
And now did it again. Quote:
Code:
checking build system type... i686-pc-linux-gnu |
Ok do this:
Code:
1) Download lua from here Wait, this won't produce a '.so' just the '.a'. Hmmm ... |
"liblua.a" is the actual Lua core, which provides the Lua C API. "liblualib.a" uses the Lua C API to implement Lua's standard libraries.
from http://lua-users.org/lists/lua-l/2004-06/msg00255.html |
Quote:
Anyways, the SlacBuild script didn't work, several other packages (from Linuxpackages and Slacky-it) didn't either, but the one bathory adviced (also from LP.net) gets things going. Thanks. I'm recompiling fishfillets now. Hey, it's done! :D Installing it now with Checkinstall and........ Code:
adri@Slackware:~$ fillets |
adriv:
Can you link me to this game? I'll give it a try here. |
Here it is: http://fillets.sourceforge.net/
|
By the way, solved it with a symlink:
Code:
root@Slackware:/home/adri# ln -s /usr/share/fish-fillets/fillets-ng-data-0.7.4 /usr/local/share/games/fillets-ng Thanks everbody! If my kids don't like it, I'll kick 'em. :rolleyes: |
Hmmm... it looks like you didn't remove the old fish-fillet files in /usr/local before rebuilding it.
|
Before symlinking, there wasn't anything (fish-fillet related) in /usr/local.
And I removed all the stuff several times. I'm quite sure about that. |
You can check makefile where it should be installed by default.
So did your kids like it? |
Quote:
Anyway, there is an executable file in /usr/local/bin now and it's there since I put it there yesterday (I can tell by the date and time). There's also a folder in /usr/share. Quote:
|
All times are GMT -5. The time now is 08:57 AM. |