[FFmpeg-user] how to build ffmpeg into one static program without any dependent dynamic library

qw applemax82 at 163.com
Fri Jul 6 17:54:03 EEST 2018


If the option of '--libmfx' is chosen, there is no way to build static ffmpeg.

Is there any way to build static ffmpeg, where only dynamic libraries of libva are allowed and other system libraries are static?




At 2018-07-05 18:35:26, "Reindl Harald" <h.reindl at thelounge.net> wrote:
>Am 05.07.2018 um 11:55 schrieb qw:
>> yum install glibc-devel glibc-static zlib-static libstdc++-static
>> Is there any way to install install libva and libva-drm libraries?
>static - no - redhat has strong policies to *remove* .a files for static
>linking from packages because static linking is considered a bad practice
>libva-devel x86_64 1.8.3-1.el7 base
>libdrm-devel x86_64  2.4.83-2.el7 base
>only dynamic libraries - just don't do it - build proper rpm packages
>which contains automatic dependencies
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>To unsubscribe, visit link above, or email
>ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list