Page 1 of 1

[SOLVED] Compile error `x264_cabac_range_lps' cannot be used

Posted: 23 Jul 2008 22:44
by hackeron

Code: Select all

/usr/bin/ld: /usr/local/lib/libx264.a(cabac-a.o): relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libx264.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[5]: *** [libx264_plugin.la] Error 1
I've tried recompiling x264 with -fPIC -- no help :(

Also, I don't want 32bit support.

Any ideas?

Re: Compile error: `x264_cabac_range_lps' can not be used

Posted: 24 Jul 2008 01:06
by hackeron
Ah, had to add --enable-pic --enable-shared to the x264 ./configure -- Now vlc compiles!