You are not logged in.

#1 2018-01-05 22:07:20

TyranT
Banned
Registered: 2017-03-01
Posts: 88

[SOLVED] error compiling lib32-gstreamer 1.12.4

I'm trying to compile my own lib32-gstreamer since the one in the repository is out of date. I keep getting this error.

 CC       libgstreamer_1.0_la-gsturi.lo
  CC       libgstreamer_1.0_la-gstutils.lo
  CC       libgstreamer_1.0_la-gstvalue.lo
  CC       libgstreamer_1.0_la-gstparse.lo
  CC       libgstreamer_1.0_la-gstregistrybinary.lo
  CC       libgstreamer_1.0_la-gstenumtypes.lo
  CCLD     libgstreamer-1.0.la
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../libunwind.so when searching for -lunwind
/usr/bin/ld: skipping incompatible /usr/lib/libunwind.so when searching for -lunwind
/usr/bin/ld: cannot find -lunwind
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1002: libgstreamer-1.0.la] Error 1
make[4]: Leaving directory '/home/abc/Downloads/packages/gstreamer-git/src/gstreamer/gst'
make[3]: *** [Makefile:1716: all-recursive] Error 1
make[3]: Leaving directory '/home/abc/Downloads/packages/gstreamer-git/src/gstreamer/gst'
make[2]: *** [Makefile:928: all] Error 2
make[2]: Leaving directory '/home/abc/Downloads/packages/gstreamer-git/src/gstreamer/gst'
make[1]: *** [Makefile:761: all-recursive] Error 1
make[1]: Leaving directory '/home/abc/Downloads/packages/gstreamer-git/src/gstreamer'
make: *** [Makefile:667: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I have both libunwind and lib32-libunwind installed, and they are the latest git versions. It seems during compile, that it looks for the 64bit version of libunwind instead of the 32bit like it should be doing. Anyone know how to redirect it to find the 32bit libunwind?

Last edited by TyranT (2018-02-09 20:22:59)

Offline

#2 2018-01-07 00:02:22

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] error compiling lib32-gstreamer 1.12.4

Have you tried just updating the PKGBUILD from multilib, using asp?

If not, you really will have to show us what PKGBUILD you are using, because we have no idea what commands you are running...

As a general rule, look at how the multilib package redirects pkg-config among other things to /usr/lib32/


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2018-02-09 20:22:26

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [SOLVED] error compiling lib32-gstreamer 1.12.4

Sorry for the late response, it was because I was using git versions of libunwind.

Offline

Board footer

Powered by FluxBB