<div dir="ltr">See point #18 from this page to fix the slackbuild script for multilib.<br><br><a href="http://slackbuilds.org/faq/#multilib">http://slackbuilds.org/faq/#multilib</a><br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Jul 23, 2013 at 2:35 PM, Kees Theunissen <span dir="ltr"><<a href="mailto:C.J.Theunissen@differ.nl" target="_blank">C.J.Theunissen@differ.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Building celt051 failed on my Slackware64-14.0 system with AlienBob's<br>
compat32 packages installed.<br>
<br>
The last few lines from the build output:<br>
<br>
....<br>
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<br>

/usr/lib/libogg.so: could not read symbols: File in wrong format<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [celtenc051] Error 1<br>
make[2]: Leaving directory `/tmp/SBo/celt-0.5.1.3/tools'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/tmp/SBo/celt-0.5.1.3'<br>
make: *** [all] Error 2<br>
<br>
<br>
Note that /usr/lib/libogg.so is a 32-bits lib installed from the<br>
libogg-compat32-1.3.0-x86_64-1compat32 package.<br>
Adding "--with-ogg-libraries=/usr/lib${LIBDIRSUFFIX}" to the<br>
./configure command solved the problem but IMHO the already present<br>
"--libdir=/usr/lib${LIBDIRSUFFIX}" should have been sufficient to<br>
build properly.<br>
Anyway, the patch below worked and looks innocent. Not tested on<br>
other systems though.<br>
<br>
<br>
<br>
--- celt051.SlackBuild  2012-09-29 06:34:37.000000000 +0200<br>
+++ celt051.SlackBuild.sbopkg   2013-07-23 14:25:00.669176128 +0200<br>
@@ -74,6 +74,7 @@<br>
 ./configure \<br>
   --prefix=/usr \<br>
   --libdir=/usr/lib${LIBDIRSUFFIX} \<br>
+  --with-ogg-libraries=/usr/lib${LIBDIRSUFFIX} \<br>
   --sysconfdir=/etc \<br>
   --localstatedir=/var \<br>
   --mandir=/usr/man \<br>
<br>
<br>
<br>
Regards,<br>
<br>
Kees Theunissen.<br>
<br>
--<br>
Kees Theunissen,  System and network manager,   Tel: +31 (0)30 6096724<br>
Dutch Institute For Fundamental Energy Research (DIFFER)<br>
e-mail address:   <a href="mailto:C.J.Theunissen@differ.nl">C.J.Theunissen@differ.nl</a><br>
postal address:   PO Box 1207, 3430 BE Nieuwegein, NL<br>
visitors address: Edisonbaan 14, 3439 MN Nieuwegein, NL<br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div><br></div>