FFMPEG compilation from hell – Solution: Use static instead of shared libaries

When I first started compiling FFMPEG I kept getting errors about needing to recompile with fPIC. That led to days of searching on how to fix the issue, and a hundred recompiles trying to get this or that dependency compiled correctly, and then it still wouldn’t work correctly.

I noted that the Ubuntu guide to installing FFMPEG always said to “disable shared” and “enable static”, and it finally sunk in that I should have been doing it this way from the beginning. I followed the guide and it worked as expected.

https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s