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

Kees Theunissen C.J.Theunissen at differ.nl
Tue Jul 23 18:35:26 UTC 2013


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-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/celt-'
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 \


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

More information about the SlackBuilds-users mailing list