You appear to be attempting to link in 32 bit binaries. Typically on Linux systems, at least ones that have both 32 bit and 64 bit libs, the 64 bit libs are in /lib64, /usr/lib64, and /usr/local/lib64. Check that you are pointing the configure params to the proper paths. If so, you might indeed need to recompile some of the dependencies with -fPIC.

-Mishehu

On 4/18/2010 16:36, Simon wrote:
Hi There,

We are trying to build transcode 1.1.5 on a debian lenny box:

./configure --enable-shared --enable-pthreads --enable-ffmpeg --enable-libavcodec --enable-libav --enable-x264 --with-libavformat-libs=/usr/local/lib --with-libavcodec-libs=/usr/local/lib --with-x264-libs=/usr/local/lib --prefix=/usr/local

Here is the output of configure:

http://www.nzlocal.com/simon/transcode.txt

But when i make to compile i get the following. I think this is something todo with the fact that i have a 64bit system correct? But i dont know what todo from here :(

/usr/bin/ld: /usr/local/lib/libavcodec.a(dsputil_mmx.o): relocation R_X86_64_PC32 against `ff_pw_20' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [export_divx5.la <http://export_divx5.la>] Error 1
make[2]: Leaving directory `/usr/src/transcode-1.1.5/export'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/transcode-1.1.5'
make: *** [all] Error 2

Thanks

Simon

Reply via email to