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

Reindl Harald h.reindl at thelounge.net
Thu Jul 5 13:35:26 EEST 2018



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



More information about the ffmpeg-user mailing list