[Slackbuilds-users] build errors with libquicktime
Christopher L Duston
christopher.duston at protonmail.com
Tue Apr 28 21:26:12 UTC 2020
Of course, sorry I knew that. I just didn't know it right when I needed to know it.
Builds now with those changes, thanks.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, April 28, 2020 5:18 PM, King Beowulf <kingbeowulf at gmail.com> wrote:
> On 4/28/20 1:38 PM, Christopher L Duston via SlackBuilds-users wrote:
>
> > I am having some trouble building libquicktime, errors are below. I
> > naively believe this might be because I'm running multilib, but that
> > section of the script already includes what I would have added to try
> > and fix that:
> > 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"
> > else
> > SLKCFLAGS="-O2"
> > LIBDIRSUFFIX=""
> > fi
> > Any thoughts?
> > Build Errors:
> > 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: error adding symbols: File in wrong format
> > collect2: error: ld returned 1 exit status
> > Makefile:374: recipe for target 'lqt_vorbis.la' failed
> > make[3]: *** [lqt_vorbis.la] Error 1
> > make[3]: Leaving directory '/tmp/SBo/libquicktime-1.2.4/plugins/vorbis'
> > Makefile:371: recipe for target 'all-recursive' failed
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory '/tmp/SBo/libquicktime-1.2.4/plugins'
> > Makefile:444: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/tmp/SBo/libquicktime-1.2.4'
> > Makefile:351: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> On multilib, you may need this modification in the buildscript:
>
> ...
>
> CFLAGS="$SLKCFLAGS" \
> CXXFLAGS="$SLKCFLAGS" \
> LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
> ./configure \
> --prefix=/usr \
>
> ...
>
> libquicktime's configure gets confused when there is both /usr/lib
> and /usr/lib64
>
> -Ed
>
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
More information about the SlackBuilds-users
mailing list