LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-17-2015, 09:50 PM   #1
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Wink unable to install libquicktime on slackware64 14.1


libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include/ -I/usr/include -DLOCALE_DIR=\"/usr/share/locale\" -O2 -fPIC -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -MT lqt_vorbis.lo -MD -MP -MF .deps/lqt_vorbis.Tpo -c lqt_vorbis.c -fPIC -DPIC -o .libs/lqt_vorbis.o
mv -f .deps/lqt_vorbis.Tpo .deps/lqt_vorbis.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -I/usr/include -DLOCALE_DIR=\"/usr/share/locale\" -O2 -fPIC -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -avoid-version -module -o lqt_vorbis.la -rpath /usr/lib64/libquicktime vorbis.lo lqt_vorbis.lo ../../src/libquicktime.la -lvorbisenc -L/usr/lib -lvorbis -lm -lvorbisfile -lpthread -lm -lz -ldl
libtool: link: gcc -shared .libs/vorbis.o .libs/lqt_vorbis.o -Wl,-rpath -Wl,/tmp/SBo/libquicktime-1.2.4/src/.libs ../../src/.libs/libquicktime.so /usr/lib/libvorbisenc.so -L/usr/lib /usr/lib/libvorbis.so /usr/lib/libvorbisfile.so -lpthread -lm -lz -ldl -Wl,-soname -Wl,lqt_vorbis.so -o .libs/lqt_vorbis.so
/usr/lib/libvorbisenc.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [lqt_vorbis.la] Error 1
make[3]: Leaving directory `/tmp/SBo/libquicktime-1.2.4/plugins/vorbis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/libquicktime-1.2.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/libquicktime-1.2.4'
make: *** [all] Error 2
Total build time for package libquicktime : 1 Min 01 Sec

+==============================================================================
| Build package libquicktime-1.2.4 [ FAILED ]
+==============================================================================
| See log file in '/var/log/slpkg/sbo/build_logs' directoryor read README file:
| http://slackbuilds.org/slackbuilds/1...icktime/README
+==============================================================================


i want to install kdenlive. Libquicktime its a formal dep. any suggestion, thanks.
 
Old 02-17-2015, 09:59 PM   #2
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
No error over here using http://slackbuilds.org/repository/14.../libquicktime/.

Slackware 14.1
3.10.17-smp

If you're still having build issues i'll pastebin my world.
runtime deps:
.. from package libquicktime-1.2.4-i486-2_SBo

aside from the the runtime deps are online:
aaa_elflibs >= 14.1 | alsa-lib >= 1.0.27.2
aaa_elflibs >= 14.1 | zlib >= 1.2.8
glibc >= 2.17 | glibc-solibs >= 2.17
libICE >= 1.0.8
libSM >= 1.2.2
libX11 >= 1.6.2
libXaw >= 1.0.12
libXext >= 1.3.2
libXt >= 1.1.4
libXv >= 1.0.10
libquicktime >= 1.2.4
mesa >= 9.1.7

i can ftp my package if you like.
 
Old 02-17-2015, 10:09 PM   #3
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
might want to reinstall:

Code:
ls /var/log/packages/ | while read pkname ; do if [ -n "$(cat /var/log/packages/$pkname | grep libvorbisenc.so.2.0.9)" ] ; then echo $pkname ; fi ; done
Quote:
libvorbis-1.3.3-i486-1
/* look in roe: or resoftlink /usr/lib/libvorbis.so -> libvorbis.so.0.4.6 */

Last edited by maciuszek; 02-17-2015 at 10:11 PM. Reason: /usr/lib/libvorbisenc.so -> libvorbisenc.so.2.0.9 is the corrent link
 
1 members found this post helpful.
Old 02-17-2015, 11:50 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,004

Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
it seems that you are running multilib based on this error message:
Quote:
/usr/lib/libvorbisenc.so: could not read symbols: File in wrong format
 
Old 02-17-2015, 11:51 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,015

Rep: Reputation: Disabled
Quote:
Originally Posted by allenlinux View Post
/usr/lib/libvorbisenc.so: could not read symbols: File in wrong format
you are using multilib, see the FAQ.

P.S. oops, too late!
 
Old 02-19-2015, 12:53 AM   #6
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
Quote:
Originally Posted by ponce View Post
you are using multilib, see the FAQ.

P.S. oops, too late!
I happen to run into this today too. I can confirm the above fixes the problem.
 
Old 03-01-2015, 10:11 PM   #7
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
mr maciuszek , can you ftp yor package. I have limitated skills. i dont know how to do the 'faq' link.
thanks. And yes, im running multilib.
 
Old 03-02-2015, 07:53 AM   #8
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
Quote:
Originally Posted by allenlinux View Post
mr maciuszek , can you ftp yor package. I have limitated skills. i dont know how to do the 'faq' link.
thanks. And yes, im running multilib.
It's not hard to do. Just open the Slackbuild script with a text editor.
Lookup these lines in the script:
Code:
CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
And then add:
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
below these 2 lines.

When you did it correctly it should now show:
Code:
CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
Save&quit and run the script. You should have an installable package when it's done compiling.
 
2 members found this post helpful.
Old 03-04-2015, 03:46 PM   #9
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
thanks jack i fix the problem. thanks to all.

Last edited by allenlinux; 03-04-2015 at 05:49 PM.
 
Old 03-04-2015, 05:42 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,004

Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
that's the slackbuilds for lxml, not libquicktime
 
Old 03-04-2015, 05:58 PM   #11
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
Realizing i was called. Just incase there is anymore confusion.
For the multilib solution:

Get and resolve distfile: http://slackbuilds.org/slackbuilds/1...icktime.tar.gz

Modify:
Code:
#!/bin/sh

# Slackware build script for libquicktime

# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=libquicktime
VERSION=1.2.4
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}

# Consider
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i486 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64" # Consider  
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# Fix compatibility with ffmpeg 2.x
patch -p1 -i $CWD/libquicktime-1.2.4-ffmpeg2.patch

# Consider
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ 
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --enable-gpl \
  --with-libdv \
  --build=$ARCH-slackware-linux

make
make install-strip DESTDIR=$PKG

find $PKG/usr/man -type f -exec gzip -9 {} \;

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
    $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
Remember to mark the thread as solved
(On my phone so it would be more tedious to create a diff)
 
1 members found this post helpful.
Old 03-04-2015, 06:03 PM   #12
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
Just so you won't have a hard time in the future . if you want to compile for 32bit (not 64 like in this case).. Remember:

Quote:
Compiling 32-bit programs
=========================

In case you need to compile a 32-bit program (wine and grub are two examples
of open source programs that are 32-bit only) you first configure your
shell environment by running the command:

. /etc/profile.d/32dev.sh

Note the 'dot' in front of the filename - that is actually part of the
commandline! It will change or create several environment variables so
that 32-bit versions of binaries are preferred. Once you are done compiling
32-bit software, you should logout of your root shell in order to get rid of
the modified build environment.

In this changed environment, you will be able to use standard SlackBuilds to
build 32-bit packages for Slackware64.
There's a couple of things to keep in mind:

(1) You have to define the ARCH variable as 'i486' because even on your
'x86_64' computer you are compiling a 32-bit program!
This is related to the triplet of '$ARCH-slackware-linux' which
is normally used in the 'configure' command.
(a) As an exception, you will have to compile the 'wine' package with
'ARCH=x86_64' because you will install this package directly on
your multilib computer without converting to a 'compat32' package.

(2) If you want to install this 32-bit package on Slackware64-multilib,
you will have to convert it to a 'compat32' package:

# convertpkg-compat32 -i /path/to/your/fresh/foo-VERSION-i486-BUILD.tgz
# upgradepkg --install-new /tmp/foo-compat32-VERSION-x86_64-BUILDcompat32.txz
SRC:http://www.slackware.com/~alien/multilib/

Remember this is irrelevant to this issue . just future issues with slackbuilds.
 
Old 03-04-2015, 06:04 PM   #13
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
i realize mr willys , yes, thanks. the post has been edited.
i change lxml dir to quicktime ||| dont ask : - ( ||| my mistake, im sorry
thanks to all
 
Old 03-04-2015, 07:02 PM   #14
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,635

Rep: Reputation: Disabled
In my experience sometimes adding

Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
Does not always work. In such cases I uninstall the offending 32bit compatible program for compiling and then reinstall it afterwards. Slackpkg+ makes this very easy.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users unable to change password using SWAT on Slackware64 14.0 stureedy Slackware 1 10-07-2013 01:29 PM
Unable to compile FileZilla on Slackware64 AlvaroG Slackware 4 11-02-2009 02:00 PM
Missing Dependency for libquicktime jborn Linux - General 1 06-25-2006 09:16 PM
using/installing libquicktime 0.9.8 and codecs J.Ryan Linux - Software 0 06-15-2006 04:36 PM
libquicktime compile problem sockknitter Programming 3 07-25-2005 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration