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

Li, Zhong zhong.li at intel.com
Wed Jul 11 09:57:58 EEST 2018


> -----Original Message-----
> From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of
> Reindl Harald
> Sent: Thursday, July 5, 2018 6:35 PM
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] how to build ffmpeg into one static program
> without any dependent dynamic library
> 
> 
> 
> 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

Libva doesn't support static building. See https://github.com/intel/libva/issues/118#issuecomment-345337777 


More information about the ffmpeg-user mailing list