[FFmpeg-trac] #6731(build system:reopened): build no longer works: ERROR: libbluray not found using pkg-config

FFmpeg trac at avcodec.org
Thu Apr 8 11:39:59 EEST 2021


#6731: build no longer works: ERROR: libbluray not found using pkg-config
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:  build
                                     |  system
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Rapper_skull):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I am getting the same problem. I cloned libbluray repo and compiled it
 using:

 {{{
 ./bootstrap && \
 PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
 ./configure --prefix "$HOME/ffmpeg_build"
 --bindir="$HOME/ffmpeg_build/bin" --libdir="$HOME/ffmpeg_build/lib" && \
 PATH="$HOME/bin:$PATH" make && \
 make install
 }}}

 Then I tried to compile ffmpeg with:

 {{{
 cd ~/ffmpeg_sources && \
 wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-
 snapshot.tar.bz2 && \
 tar xjvf ffmpeg-snapshot.tar.bz2 && \
 cd 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 -I/usr/local/cuda/include"
 \
   --extra-ldflags="-L$HOME/ffmpeg_build/lib -L/usr/local/cuda/lib64" \
   --extra-libs="-lpthread -lm" \
   --ld="g++" \
   --bindir="$HOME/bin" \
   --enable-gpl \
   --enable-gnutls \
   --enable-libaom \
   --enable-libass \
   --enable-libfdk-aac \
   --enable-libfreetype \
   --enable-libmp3lame \
   --enable-libopus \
   --enable-libsvtav1 \
   --enable-libdav1d \
   --enable-libvorbis \
   --enable-libvpx \
   --enable-libx264 \
   --enable-libx265 \
   --enable-nonfree \
   --enable-libbluray \
   --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp && \
 PATH="$HOME/bin:$PATH" make -j$(nproc) && \
 make install && \
 hash -r
 }}}

 Unfortunately I get the following error:

 {{{
 ERROR: libbluray not found using pkg-config
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6731#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list