How to , and other stuff about linux, photo, php … Another blog just like others on internet

December 2, 2011

problem with ffmpeg /usr/local/lib/libbz2.a: could not read symbols: Bad value

Filed under: Linux — admin @ 3:11 pm

Again, try to reconfigure on another server ffmpeg, here I got another error.
/usr/local/lib/libbz2.a: could not read symbols: Bad value

/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against `.text’ can not be used when making a shared object; recompile with -fPIC

After a little search I find out that on that server bzip was installed from sources not from package.
Only solution that work was to recompile bzip.
So i go into bzip directory, edit Makefile
and the line
I modify it into
CC=gcc -fPIC
save the file
make clean
make install
And after that the ffmpeg was good to go.

Rate this post


  1. Hi,

    This helped me installing freetype. Thanks

    Comment by Jigar — December 4, 2012 @ 4:55 pm

  2. This helped me install R ((Make)
    thank you.

    Comment by guozhen — February 27, 2018 @ 11:28 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress