Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: lepomis on May 04, 2015, 04:28:55 PM
-
Hello,
i get this error:
tc@box:/mnt/sda1/tce$ nmap
nmap: error while loading shared libraries: liblua.so.5.2: cannot open shared object file: No such file or directory
What's wrong?
-
1. What version of Core?
2. Where did you get nmap?
3. Where did you get lua-lib?
For Core 6, nmap uses and lua-lib provides liblua.so.5.3
Your version of nmap does not match the version of lua-lib or your lua-lib is not loaded.
-
It looks like current LUA update to 5.3.0 breaks the extension. As a temporary fix make an 5.2.0 symlink to the 5.3.0 lib. It may work or not. Let us know the result.
-
Yes, I see there is a very recent update to lib-lua.tcz which I have not loaded yet.
-
It looks like current LUA update to 5.3.0 breaks the extension. As a temporary fix make an 5.2.0 symlink to the 5.3.0 lib. It may work or not. Let us know the result.
This is my system:
-version 6.1
-3.16.6-tinycore
I installed nmap from the Apps program
Let's have a look at my lib dir...
tc@box:/usr/local/lib$ ls |grep liblua
liblua.so
liblua.so.5.3
liblua.so.5.3.0
How could i make an 5.2.0 symlink to the 5.3.0 lib ?
Maybe i can wait for the update you're talking about, i'm not in a hurry.
-
Hi lepomis
How could i make an 5.2.0 symlink to the 5.3.0 lib ?
Try:
tc@box:/usr/local/lib$ ln -s liblua.so.5.3 liblua.so.5.2
-
Hi lepomis
How could i make an 5.2.0 symlink to the 5.3.0 lib ?
Try:
tc@box:/usr/local/lib$ ln -s liblua.so.5.3 liblua.so.5.2
but i'd need liblua.so.5.2 in my directory ...
-
Hi lepomis
but i'd need liblua.so.5.2 in my directory ...
The command I gave you will make it appear there is a liblua.so.5.2 in that directory.
-
tc@box:/usr/local/lib$ sudo ln -s liblua.so.5.3 liblua.so.5.2
tc@box:/usr/local/lib$ nmap
nmap: error while loading shared libraries: liblua.so.5.2: cannot open shared object file: No such file or directory
-
tc@box:/usr/local/lib$ sudo ln -s liblua.so.5.3 liblua.so.5.2
tc@box:/usr/local/lib$ nmap
nmap: error while loading shared libraries: liblua.so.5.2: cannot open shared object file: No such file or directory
Did you run 'sudo ldconfig' ?
-
I've just run it
thank you bmarkus! you had the right idea.
good job!
-
i would add these commands in my bootlocal.sh what do you think?