[Slackbuilds-users] SlackBuilds, Package:Lua (fwd)

Menno Duursma druiloor at zonnet.nl
Mon Aug 17 06:51:37 UTC 2009

---------- Forwarded message ----------
Date: Sun, 16 Aug 2009 16:18:22 +0200 (CEST)
From: Menno Duursma <druiloor at zonnet.nl>
To: sylkat <kryzoxy at gmail.com>
Subject: Re: SlackBuilds, Package:Lua

On Sun, 16 Aug 2009, sylkat wrote:

> Hi,
> Im a new spanish slack user, i get your slackbuild "lua", install and i see
> that the post installation script is not correct.
> It create a soft link liblua.so pointing to liblua.so.5.1.4:
> liblua.so -> liblua.so.5.1.4
> And the library installed is liblua-5.1.so then is a invalid link and not
> work in compilation but configure script not detect invalid link!
> I don't know how to report this bug so i email you.
> Regards,


This is fine (although i'd rather someone else would take over maintainership 
of this...) You could sent it to the slackbuild-users at slackbuilds.org list 

I don't know if anything uses those links, but anyways, a quick patch:
This came about with the 64bit suport i guess, i could submit this but it
may brake 64 (however unlikely) probably a good idee to forward this mail.


--- ../lua.old/lua.SlackBuild   2009-06-18 17:22:08.000000000 +0200
+++ ./lua.SlackBuild    2009-08-16 15:57:52.000000000 +0200
@@ -54,13 +54,14 @@
  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

-make install DESTDIR=/$PKG
+make install DESTDIR=$PKG

  # Let's make sure all of the library symlinks correctly exist
  ( cd $PKG/usr/lib$LIBDIRSUFFIX
-  ln -sf liblua.so.${VERSION} liblua.so.5
-  ln -sf liblua.so.${VERSION} liblua.so
-  chmod 0755 liblua.so.${VERSION}
+  # Fix for autotools version
+  ln -sf liblua-5.1.so liblua.so.$VERSION
+  ln -sf liblua-5.1.so liblua.so.5.1
+  ln -sf liblua-5.1.so liblua.so.5

  ( cd $PKG

More information about the SlackBuilds-users mailing list