-   Slackware (
-   -   Cannot compile prerelease flac on -current (

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:


Making install in .
make[3]: Entering directory `/tmp/flac-1.3.0pre4/src/libFLAC'
/usr/lib/ could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [] 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:


root@skamandros/home/andrew# find /usr -iname

Any advice would be appreciated...

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

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


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:

All times are GMT -5. The time now is 08:43 PM.