Page 1 of 1

USM: /usr/lib/liblua.so symlink is not created.

Posted: 20 May 2015, 15:49
by go2null
I tried installing Wireshark and got the following error when trying to run it.

Code: Select all

root@porteus:/home/guest# wireshark &
[1] 11087
root@porteus:/home/guest# wireshark: error while loading shared libraries: liblua.so: cannot open shared object file: No such file or directory

[1]+  Exit 127                wireshark
Searching revealed that the liblua.so symlink is missing.

Code: Select all

root@porteus:/usr/lib# find /usr -name 'liblua.so*' 2>/dev/null -ls
 94556    0 lrwxrwxrwx   1 root     root           15 May 17 12:17 /usr/lib/liblua.so.5 -> liblua.so.5.1.5
 94557  177 -rw-r--r--   1 root     root       181108 Oct 15  2013 /usr/lib/liblua.so.5.1.5
Inspecting lua-5.1.5-i486-1alien.tgz and lua-5.1.5-i486-1alien.xzm indicates that the /usr/lib/liblua.so.5 -> liblua.so.5.1.5 symlink is created by the tgz-xzm-convert utility.

A possible fix is for the tgz-xzm-convert utility to add the /usr/lib/liblua.so -> liblua.so.5 symlink.
Manually adding this symlink allows Wireshark to launch.

INFO:

Code: Select all

USM v3.1.7
Porteus-LXQt-v3.1-i486

Re: USM: /usr/lib/liblua.so symlink is not created.

Posted: 20 May 2015, 17:59
by fanthom
i'm against adding quirks to our script.
please report this bug to Alien Bob so he can fix his package.

Re: USM: /usr/lib/liblua.so symlink is not created.

Posted: 11 Feb 2016, 18:06
by go2null
Seems to be fixed in upstream (Alien Bob)

http://www.slackware.com/~alien/slackbu ... SlackBuild

Code: Select all

# 5.1.5-2:     12/oct/2015 by Eric Hameleers <alien@slackware.com>
#              * Instead of a patch and several lines of sed, use the patch-less
#                logic from the slackbuilds.org script; adds missing liblua.so
---
    ln -s liblua.so.$VERSION liblua.so