View Single Post
Old 5th September 2016, 10:29   #10  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by TheFluff View Post
If it's the "recompile with -fPIC" error message I'm thinking of, it's wildly misleading. What it actually wants you to do is to compile as shared instead of static. See http://stackoverflow.com/questions/1...pile-with-fpic

(I know you figured it out already but posting the answer anyway for the benefit of anyone else who might end up here)
Is that some ARM weirdness? (That link has a question about ARM.) Because in x86(_64) you definitely can compile ffmpeg static and ffms2 or lsmashworks or whatever shared. The "recompile with -fPIC" message means exactly that: you need to recompile ffmpeg with --enable-pic. It doesn't have to be shared.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote