miroR wrote:When compiling handbrake, I repeatedly ended up at the error:
Code: Select all
relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC
./contrib/lib/libx264.a: could not read symbols: Bad value
withoiut and with "-fPIC" in the C[XX]FLAGS
...[snip]...
Code: Select all
...
>=media-video/ffmpeg-0.9 ...[snip]... pic
...
media-libs/x264 pic
(that is, actually, just the flag "pic" added to both those packages
...[snip]...
I've gotten the same error, consistently, with or without "-fPIC" stuck in CFLAGS as advised in links in the previous post of mine, and with as without the "pic" use flags for packages x264 and ffmpeg.
A few times over.
handbrake is in the order of the day for me, as I can't solve issues on my daily schedule without it (at least I don't know how I could: I need to hard burn in subtitles in MP4 video. Subtile file is made, I know of no other program t this time that can do that.
I need to do so, for the file to be uploadable with subtitles on Youtube or Vimeo or similarly, without the fuss of instructions and explanation on a separate file with the subtitles... Thanks if anyone points me to an alternative solution for me!
Also I need to note that I tried to install with "gtk" and "-gtk". When enabled, pulls in net-libs/webkit-gtk-1.6.1-r301, but the error is perfectly the exact same where the compilation process breaks...
My emerge --info:
http://pastebin.com/UKs1uWHK
More precisely:
# emerge --info =media-video/handbrake-0.9.5_p4210:
http://pastebin.com/5VPHYMqF
End of build.log:
http://pastebin.com/Kw1cLpbr
Code: Select all
# emerge -pqv =media-video/handbrake-0.9.5_p4210:
[ebuild N ] media-video/handbrake-0.9.5_p4210 USE="css gtk"
Soo...
I've searched already, and found no more than just the already linked pages with some relevance to the errors that importune me at the moment...
...[snip]...
Hmmmh... Just found something:
http://www.inmethod.com/forum/posts/list/90/1856.page
(not that I understand much of it... But I have to be looking for a clue...)
...
I'll go and employ what lucid brains I'm left with to ponder, mull over these and figure them out...
In the meantime, maybe someone knows better, to cut my chase...
Phew!