LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error building gst1-plugins-good 1.4.1 from SBO (https://www.linuxquestions.org/questions/slackware-14/error-building-gst1-plugins-good-1-4-1-from-sbo-4175521135/)

l0rddarkf0rce 10-05-2014 10:51 PM

Error building gst1-plugins-good 1.4.1 from SBO
 
Lets start by mentioning that this is a multi-lib system. I just tried to build the package and I get the following error message

Code:

make[3]: Entering directory `/tmp/SBo/gst-plugins-good-1.4.1/ext/wavpack'
  CC      libgstwavpack_la-gstwavpack.lo
  CC      libgstwavpack_la-gstwavpackcommon.lo
  CC      libgstwavpack_la-gstwavpackdec.lo
  CC      libgstwavpack_la-gstwavpackenc.lo
  CC      libgstwavpack_la-gstwavpackstreamreader.lo
  CCLD    libgstwavpack.la
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status

I tried adding and LDFLAGS="-L/usr/lib64" in the if statement that checks for the architecture. So now the block for x86_64 looks like

Code:

elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
  LDFLAGS="-L/usr/lib64" 
else

I did not run into any problems building any of the other gst1-plugins on my system (base or ugly) and did not had any problems when I installed version 1.2.2 of the plugin.

I also tried to compile the plugin without the help of the SBO script and I ran into the same error message. Any help will be appreciated.

willysr 10-05-2014 10:57 PM

LDFLAGS should be placed before the ./configure line, not in the IF block
please refer to here: http://slackbuilds.org/faq/#multilib

l0rddarkf0rce 10-05-2014 11:04 PM

Thanks willysr. Next time RTFM before positing. :)

ReaperX7 10-06-2014 03:59 PM

Quote:

Originally Posted by l0rddarkf0rce (Post 5249479)
Thanks willysr. Next time RTFM before positing. :)

We never said it's wrong to ask questions. Just because others like to thumb RTFM a lot doesn't mean we do. Slackware users help each other, even if it is in the manual.

l0rddarkf0rce 10-06-2014 05:58 PM

I know we do and trust me I've gotten plenty of help here, but I also know better and I should have read the docs.


All times are GMT -5. The time now is 12:55 PM.