[FFmpeg-user] Ffmpeg build on Ubuntu

Thomas Hehl thomas.hehl at lexmark.com
Fri Dec 4 15:24:12 CET 2015


thomas at thomas-linux-box:~/ffmpeg_build$ ls -l
/home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
-rw-r--r-- 1 thomas thomas 259 Dec  3 14:06
/home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
thomas at thomas-linux-box:~/ffmpeg_build$ pkg-config --libs x265
Package x265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x265.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x265' found
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs x265)
-L/home/thomas/ffmpeg_build/lib -lx265
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags
x265)
-I/home/thomas/ffmpeg_build/include
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs
--static x265)
-L/home/thomas/ffmpeg_build/lib -lx265 -lstdc++ -lm -lrt -ldl
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags
--static x265)
-I/home/thomas/ffmpeg_build/include


On Fri, Dec 4, 2015 at 8:49 AM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Fri, Dec 04, 2015 at 07:43:02 -0500, Thomas Hehl wrote:
> > thomas at thomas-linux-box:~/ffmpeg_sources/ffmpeg$ PATH="$HOME/bin:$PATH"
> > PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
> > >   --prefix="$HOME/ffmpeg_build" \
> > >   --pkg-config-flags="--static" \
> > >   --extra-cflags="-I$HOME/ffmpeg_build/include" \
> > >   --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
> > >   --bindir="$HOME/bin" \
> > >   --enable-gpl \
> > >   --enable-libass \
> > >   --enable-libfdk-aac \
> > >   --enable-libfreetype \
> > >   --enable-libmp3lame \
> > >   --enable-libopus \
> > >   --enable-libtheora \
> > >   --enable-libvorbis \
> > >   --enable-libvpx \
> > >   --enable-libx264 \
> > >   --enable-libx265 \
> > >   --enable-nonfree
> > ERROR: x265 not found using pkg-config
>
> That's peculiar, because your first email showed that it installed
> this:
> /home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
>
> So, please try execute for us and show us the output:
> $ ls -l /home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
> $ pkg-config --libs x265
> $ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config
> --libs x265)
> $ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config
> --cflags x265)
> $ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config
> --libs --static x265)
> $ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config
> --cflags --static x265)
>
> Thanks,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list