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

Ted Lum ted at tedlum.com
Wed Aug 16 05:07:57 EEST 2017


On 8/15/2017 9:43 AM, Reindl Harald wrote:
>
>
> Am 15.08.2017 um 04:00 schrieb Ted Lum:
>> 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.
>
> well, and that's why building packages
> go back in the thread where i showed you how to get x264 static linked
>
> the way it's built it never collides with the system packages and the 
> way it's linked in the ffmpeg build it's using the correct library
>
> after that setup works you just replace the tarball and change 
> versions in the spec files and build the stuff just in the right 
> order, reproduceable forever
>
> [root at buildserver:~]$ rpm -q --filesbypkg 
> x264-latest-0.152.2851-1.fc25.20170703.rh.x86_64
> x264-latest               /usr/local/x264/libx264.a
> x264-latest               /usr/local/x264/x264.h
> x264-latest               /usr/local/x264/x264_config.h
> _______________________________________________
> 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".

Dude, I don't have a problem with libx264, and I never did. Always 
worked perfectly. I have no idea what you're talking about.


-- 
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