[FFmpeg-devel] configure with liba52 on 64 bit

foyleman foyleman
Fri Sep 21 17:46:57 CEST 2007


Thanks. that's the part I didn't know. It's working now.

Recompile liba52 with 
CFLAGS="-fPIC".

./configure CFLAGS="-fPIC"


Thanks,
foyleman
 
"Go ahead... You Play. I Mod. : MODSonline.com"
 
www.modsonline.com
Over 80,000 members can't be wrong.
Custom game content, tutorials, downloads, etc.
-----------------------------------------------
Have you heard the MODSonair Podcast?
http://www.modsonair.com/

We are game enthusiasts from the MODSonline.com
community bringing you news, updates and
opinions of the week's current events.
Tune in every Friday for a new episode.

iTunes: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=76379330
-----------------------------------------------
Looking for help modding your game? Checkout:
- Quake 4 Mods For Dummies
- Half-Life 2 Mods For Dummies

Authored by Erik Guilfoyle (foyleman) and
Available in most book stores.
-----------------------------------------------



Ismail D?nmez wrote:
> On Friday 21 September 2007 18:21:37 Ismail D?nmez wrote:
>   
>> On Friday 21 September 2007 18:18:50 foyleman wrote:
>>     
>>> I am unable to configure ffmpeg on a CentOS 64bit machine. I need to
>>> configure with liba52 but I am getting errors.
>>>
>>> I did some searching and cannot find a solution.. or at least one that I
>>> understand. I know some linux and I can get around, but perhaps not
>>> enough since I am lost here.
>>>
>>> My ffmpeg configure line:
>>> ./configure --enable-shared --enable-libxvid --enable-libvorbis
>>> --enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad
>>> --enable-libfaac --enable-liba52 --enable-pp
>>>
>>> My error:
>>> /usr/bin/ld: /usr/local/lib/liba52.a(parse.o): relocation R_X86_64_32S
>>> against `a local symbol' can not be used when making a shared object;
>>> recompile with -fPIC
>>> /usr/local/lib/liba52.a: could not read symbols: Bad value
>>>       
>> Static libs on x86-64 *have to* be compiled with -fPIC. Complain to your
>> distro.
>>     
>
> Ah since its in /usr/local, you must have compiled it. Recompile liba52 with 
> CFLAGS="-fPIC".
>
> /ismail
>
>   




More information about the ffmpeg-devel mailing list