[Slackbuilds-users] xmms-status-plugin

Larry Hajali larryhaja at gmail.com
Mon Nov 25 05:58:38 UTC 2013


Hi,

The problem seems to be that there is a local version of libtool in the
source directory that is used to link the libraries isn't /lib64 or
/usr/lib64 aware.  I created a simple hack to use the system libtool so
that proper linking works.  You can use it if you'd like.  The static
library is also installed so you may want to manually remove that.

Cheers,
Larry


On Sun, Nov 24, 2013 at 3:29 AM, Petar Petrov
<petar.petrov at student.oulu.fi>wrote:

> Hi guys
>
> it seems there's a problem with another entry of mine:
> xmms-status-plugin... It builds and works fine on 32bit system, however on
> a 64bit it builds and installs the file
>
> usr/lib64/xmms/General/libstatusdocklet.a
>
> in stead of the proper "libstatusdocklet.so"
>
> I do not know how to fix that, searched for a patch, but it seems none of
> the distros I checked ship this anymore. The last release was in 2005
> anyways... So, either just remove it or mark x86_64 as UNSUPPORTED? It's a
> pity, but I guess I was the only one using it anyways.
>
> Sorry for the inconvenience, i just didn't notice it earlier.
>
> -petar
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20131124/fae8880c/attachment-0001.html>
-------------- next part --------------
diff --git a/desktop/xmms-status-plugin/xmms-status-plugin.SlackBuild b/desktop/xmms-status-plugin/xmms-status-plugin.SlackBuild
index ac2da6f..c6fdbca 100644
--- a/desktop/xmms-status-plugin/xmms-status-plugin.SlackBuild
+++ b/desktop/xmms-status-plugin/xmms-status-plugin.SlackBuild
@@ -69,6 +69,9 @@ find -L . \
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
+# Force the Makefile to use the installed version of libtool.
+sed -i 's|^LIBTOOL =.*|LIBTOOL = /usr/bin/libtool|' $(find . -iname "Makefile.*")
+
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 ./configure \


More information about the SlackBuilds-users mailing list