[Libav-user] How to compile dev from source

Lou lou at lrcd.com
Mon Jul 31 20:41:52 EEST 2017


On Sun, Jul 23, 2017, at 11:16 PM, Peter Kroon wrote:
> I mean by "the dev packages" the header files and libraries.
> But they are not installed when compiled from source.
> I've tried CentOS and FreeBSD. On both OS the header files and libraries
> are not found.

Using that guide "installs" these files to ~/ffmpeg_build. It does it
this way to avoid installing anything to any system directories (and
most users just want the resulting ffmpeg binary anyway). Point your
compiler to that directory, or if desired you can install the files
wherever you want (such as /usr/local/ where I'm assuming you were
assuming they would be).

$ cd ~/ffmpeg_sources/ffmpeg
$ make distclean
$ ./configure
$ make
# make install


More information about the Libav-user mailing list