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

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
go2null
White ninja
White ninja
Posts: 25
Joined: 19 Aug 2014, 18:28
Distribution: LXDE-v3.0.1-i486.iso
Location: Canada

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

Post#1 by go2null » 20 May 2015, 15:49

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#2 by fanthom » 20 May 2015, 17:59

i'm against adding quirks to our script.
please report this bug to Alien Bob so he can fix his package.
Please add [Solved] to your thread title if the solution was found.

go2null
White ninja
White ninja
Posts: 25
Joined: 19 Aug 2014, 18:28
Distribution: LXDE-v3.0.1-i486.iso
Location: Canada

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

Post#3 by go2null » 11 Feb 2016, 18:06

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

Post Reply