[FFmpeg-user] libass cannot be detected in centos 7

Dennis Mungai dmngaie at gmail.com
Sun Jan 27 22:38:37 EET 2019


Hello there,

I'm building ffmpeg on centos 7 and one issue keeps cropping up:

libass. Yes, its' installed. But ffmpeg's ./configure stage won't detect it.

Configuration:

cd /opt/software
git clone https://github.com/FFmpeg/FFmpeg -b master
cd FFmpeg
PATH="/opt/ffmpeg/bin:$PATH" PKG_CONFIG_PATH="/opt/ffmpeg/lib/pkgconfig"
./configure \
  --prefix="/opt/ffmpeg" \
  --pkg-config-flags="--static" \
  --extra-cflags="-I/opt/ffmpeg/include" \
  --extra-ldflags="-L/opt/ffmpeg/lib" \
  --bindir="/opt/ffmpeg/bin" \
  --enable-cuda-sdk \
  --enable-cuvid \
  --enable-libnpp \
  --extra-cflags="-I/usr/local/cuda/include/" \
  --extra-ldflags=-L/usr/local/cuda/lib64/ \
  --enable-gpl \
  --enable-version3 \
  --enable-libass \
  --enable-libfdk-aac \
  --enable-libx264 \
  --enable-libx265 \
  --enable-libmp3lame \
  --enable-libopus \
  --enable-libvorbis \
  --enable-libvpx \
  --extra-libs="-lpthread -lm" \
  --enable-nvenc \
  --enable-nonfree
PATH="/opt/ffmpeg/bin:$PATH" make -j$(nproc) VERBOSE=1
make -j$(nproc) uninstall
make -j$(nproc) distclean
hash -r

Log:

ERROR: libass not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this
will help
solve the problem.

Config log attached below.

Further info:

1. pkg-config --libs --cflags freetype2
-I/usr/include/freetype2 -I/usr/include/libpng15  -lfreetype

2.    pkg-config --libs --cflags fribidi
-I/usr/include/fribidi  -lfribidi

3. pkg-config --libs --cflags libass
-I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid
-I/usr/include/libpng15  -lass
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 382983 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190127/db4e7254/attachment.bin>


More information about the ffmpeg-user mailing list