LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Cannot compile prerelease flac on -current (http://www.linuxquestions.org/questions/slackware-14/cannot-compile-prerelease-flac-on-current-4175461498/)

andrew.46 05-10-2013 11:23 PM

Cannot compile prerelease flac on -current
 
I am having some difficulty compiling the prerelease version of flac on 64bit multilib Slackware -current. The source is here and should pretty well represent the final release. I simply version bumped PV's script, left out the patches for the moment and compilation is stalled here:

Code:

Making install in .
make[3]: Entering directory `/tmp/flac-1.3.0pre4/src/libFLAC'
  CCLD  libFLAC.la
/usr/lib/libogg.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [libFLAC.la] Error 1
make[3]: Leaving directory `/tmp/flac-1.3.0pre4/src/libFLAC'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/flac-1.3.0pre4/src/libFLAC'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/flac-1.3.0pre4/src'
make: *** [install-recursive] Error 1

Two liboggs in place:

Code:

root@skamandros/home/andrew# find /usr -iname libogg.so
/usr/lib/libogg.so
/usr/lib64/libogg.so
root@skamandros/home/andrew#

Any advice would be appreciated...

andrew.46 05-11-2013 12:45 AM

Found the answer in a post by alienBOB. Simply adding:

Code:

export LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
to the slackbuild guided the flac compilation to the correct libraries. Thanks yet again to alienBOB :)

andrew.46 05-30-2013 05:16 PM

Some may be interested to know that the new flac version has now been released:

http://downloads.xiph.org/releases/f...c-1.3.0.tar.xz


All times are GMT -5. The time now is 04:02 AM.