[FFmpeg-user] ffmpeg built static, yet "libopenjp2.so.7: cannot open shared object file"

Ted Lum ffmpeg-archive.org at tedlum.com
Tue Aug 15 05:00:22 EEST 2017


On 8/14/2017 4:49 AM, Carl Eugen Hoyos wrote:
>
> If you want any of the external dependencies of FFmpeg (like
> x264 or in your case libopenjpeg) linked statically, remove the
> .so symlink from the x264/libopenjpeg or the /usr/local/lib*
> directory.
>
>
> Carl Eugen

Thanks. The problem really is more with OpenJPEG. They were messing with 
the build flags in response to a users "enhancement request". It seems 
like you can't really disable building and installing the shared 
libraries. So, if you want a static link you just have to delete them. 
Everything is working as expected now.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the ffmpeg-user mailing list