[FFmpeg-user] libass cannot be detected in centos 7
Dennis Mungai
dmngaie at gmail.com
Sun Jan 27 23:22:04 EET 2019
On Mon, 28 Jan 2019 at 00:09, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2019-01-27 22:03 GMT+01:00, Dennis Mungai <dmngaie at gmail.com>:
>
> > 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
>
> This looks different from your config.log where libass needs libbz2
> which is missing:
> pkg-config --exists --print-errors libass
> check_func_headers ass/ass.h ass_library_init -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 -pthread -lass -lharfbuzz
> -lfontconfig -lfribidi -lglib-2.0 -lgraphite2 -lpcre -luuid -lexpat
> -lfreetype -lbz2 -lpng15 -lz -lm
> test_ld cc -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 -pthread -lass -lharfbuzz -lfontconfig
> -lfribidi -lglib-2.0 -lgraphite2 -lpcre -luuid -lexpat -lfreetype
> -lbz2 -lpng15 -lz -lm
> test_cc -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 -pthread
> BEGIN /tmp/ffconf.Du3r0RrN/test.c
> 1 #include <ass/ass.h>
> 2 #include <stdint.h>
> 3 long check_ass_library_init(void) { return (long)
> ass_library_init; }
> 4 int main(void) { int ret = 0;
> 5 ret |= ((intptr_t)check_ass_library_init) & 0xFFFF;
> 6 return ret; }
> END /tmp/ffconf.Du3r0RrN/test.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/opt/ffmpeg/include
> -I/usr/local/cuda/include/ -I/usr/include/ -std=c11
> -fomit-frame-pointer -I/opt/ffmpeg/include -pthread
> -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 -pthread -c -o /tmp/ffconf.Du3r0RrN/test.o
> /tmp/ffconf.Du3r0RrN/test.c
> gcc -L/opt/ffmpeg/lib -L/usr/local/cuda/lib64/ -L/usr/lib64/
> -Wl,--as-needed -Wl,-z,noexecstack -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 -pthread -o
> /tmp/ffconf.Du3r0RrN/test /tmp/ffconf.Du3r0RrN/test.o -lass -lharfbuzz
> -lfontconfig -lfribidi -lglib-2.0 -lgraphite2 -lpcre -luuid -lexpat
> -lfreetype -lbz2 -lpng15 -lz -lm -lpthread -lm
> /usr/bin/ld: cannot find -lbz2
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
Hello Carl,
Installing the bzip2-devel package fixed the issue. Thanks once again :-)
More information about the ffmpeg-user
mailing list