[FFmpeg-devel] linking problems @ powerpc64 / relocation @ ... for symbol ...

Lukas Diduch lukas.diduch
Tue Jun 30 14:55:53 CEST 2009


i'm having problems linking against libavformat
on #1 SMP Thu Jun 18 12:15:51 EDT 2009 ppc64 ppc64 ppc64 GNU/Linux

with latest ffmpeg from git 

./configure --disable-zlib --disable-bzlib --disable-stripping --prefix=/opt/ffmpeg && make clean && make -j 4
./configure --prefix=/opt/ffmpeg

in both cases trying to build opencv (with ffmpeg support) fails in configure
due to libavformat:

configure:2913: checking for C++ compiler default output file name
configure:2940: g++ -I/opt/ffmpeg/include  -L/opt/ffmpeg/lib conftest.cpp -lavcodec -lavformat -lavutil -lswscale >&5
configure:2943: $? = 0
configure:2981: result: a.out
configure:2998: checking whether the C++ compiler works
configure:3008: ./a.out
./a.out: error while loading shared libraries: /opt/ffmpeg/lib/libavformat.so.52: R_PPC_REL24 relocation at 0x0f77c954 for symbol `BZ2_bzDecompressInit' out of range

as far as i recall this is some 32 vs. 64 bit shared lib problem (the 32/64
libraries get quite messed up on fedora since it default installs both 32 and
64 lib versions on 64 bit architectures), the funny thing is that i do
explicitly build without bz2 support.

Is there any way to resolve this ?


More information about the ffmpeg-devel mailing list