Jumat, 25 Januari 2013

Transcode Slackware 64 bit

siapa tau ntar butuh lagi kalo dapet error sama:
error:
/usr/lib/libxml2.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [tccat] Error 1
make[3]: Leaving directory `/tmp/SBo/transcode-1.1.3/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/transcode-1.1.3/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/transcode-1.1.3'
make: *** [all] Error 2

solusi copy dari punya comment Om Alien Bob di sini:
With a multilib system, there is a little more to the story than the SlackBuild scripts of slackbuilds.org tell you.

There is a single line you have to add to that transcode.SlackBuild script so that the lib64 directory will be favoured over the lib directory when you compile 64bit binaries. I include that line in all of my own SlackBuild scripts (http://slackware.com/~alien/slackbuilds/) which is why I never had complaints from Slamd64 users ;-)

Right between the lines:
Code:
CXXFLAGS="$SLKCFLAGS" \
and
Code:
./configure \
add the following line (do not leave empty lines around it!):
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
Now, your compilation will succeed if you set the ARCH variable to "x86_64".

Eric
 

Tidak ada komentar:

Posting Komentar