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@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
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to