[Slackbuilds-users] celt051 fails to build on Slackware64-14.0 with compat32 libs installed.

Nick Blizzard nickblizzard1776 at gmail.com
Tue Jul 23 19:10:10 UTC 2013


See point #18 from this page to fix the slackbuild script for multilib.

http://slackbuilds.org/faq/#multilib


On Tue, Jul 23, 2013 at 2:35 PM, Kees Theunissen
<C.J.Theunissen at differ.nl>wrote:

> Hi,
>
> Building celt051 failed on my Slackware64-14.0 system with AlienBob's
> compat32 packages installed.
>
> The last few lines from the build output:
>
> ....
> x86_64-slackware-linux-gcc -O2 -fPIC -fvisibility=hidden -W
> -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow
> -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -o
> .libs/celtenc051 celtenc.o wav_io.o skeleton.o
>  ../libcelt/.libs/libcelt051.so -L/usr/lib /usr/lib/libogg.so -lm
>  -Wl,--rpath -Wl,/usr/lib64
> /usr/lib/libogg.so: could not read symbols: File in wrong format
> collect2: error: ld returned 1 exit status
> make[2]: *** [celtenc051] Error 1
> make[2]: Leaving directory `/tmp/SBo/celt-0.5.1.3/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/SBo/celt-0.5.1.3'
> make: *** [all] Error 2
>
>
> Note that /usr/lib/libogg.so is a 32-bits lib installed from the
> libogg-compat32-1.3.0-x86_64-1compat32 package.
> Adding "--with-ogg-libraries=/usr/lib${LIBDIRSUFFIX}" to the
> ./configure command solved the problem but IMHO the already present
> "--libdir=/usr/lib${LIBDIRSUFFIX}" should have been sufficient to
> build properly.
> Anyway, the patch below worked and looks innocent. Not tested on
> other systems though.
>
>
>
> --- celt051.SlackBuild  2012-09-29 06:34:37.000000000 +0200
> +++ celt051.SlackBuild.sbopkg   2013-07-23 14:25:00.669176128 +0200
> @@ -74,6 +74,7 @@
>  ./configure \
>    --prefix=/usr \
>    --libdir=/usr/lib${LIBDIRSUFFIX} \
> +  --with-ogg-libraries=/usr/lib${LIBDIRSUFFIX} \
>    --sysconfdir=/etc \
>    --localstatedir=/var \
>    --mandir=/usr/man \
>
>
>
> Regards,
>
> Kees Theunissen.
>
> --
> Kees Theunissen,  System and network manager,   Tel: +31 (0)30 6096724
> Dutch Institute For Fundamental Energy Research (DIFFER)
> e-mail address:   C.J.Theunissen at differ.nl
> postal address:   PO Box 1207, 3430 BE Nieuwegein, NL
> visitors address: Edisonbaan 14, 3439 MN Nieuwegein, NL
>
> _______________________________________________
> 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/20130723/a737fc39/attachment-0001.html>


More information about the SlackBuilds-users mailing list