Could not find libavformat - but it does exist
Brought to you by:
jmaggard
checking for avformat_open_input in -lavformat -lavcodec -lavutil -lz... no
checking for av_open_input_file in -lavformat -lavcodec -lavutil -lz... no
checking for avformat_open_input in -lavformat -lavcodec -lavutil -lz... (cached) no
checking for av_open_input_file in -lavformat -lavcodec -lavutil -lz... (cached) no
configure: error: Could not find libavformat - part of ffmpeg
/usr/doc/ffmpeg-4.3.1/html/libavformat.html
/usr/include/libavformat
/usr/include/libavformat/avformat.h
/usr/include/libavformat/avio.h
/usr/include/libavformat/version.h
/usr/lib/libavformat.so
/usr/lib/libavformat.so.58
/usr/lib/libavformat.so.58.45.100
/usr/lib/pkgconfig/libavformat.pc
/usr/man/man3/libavformat.3.gz
configure:9206: checking libavformat/avformat.h usability
configure:9206: gcc -c -g -O2 conftest.c >&5
configure:9206: $? = 0
configure:9206: result: yes
configure:9206: checking libavformat/avformat.h presence
configure:9206: gcc -E conftest.c
configure:9206: $? = 0
configure:9206: result: yes
configure:9206: checking for libavformat/avformat.h
configure:9206: result: yes
configure:9206: checking ffmpeg/libavformat/avformat.h usability
configure:9206: gcc -c -g -O2 conftest.c >&5
conftest.c:113:10: fatal error: ffmpeg/libavformat/avformat.h: No such file or directory
113 | #include <ffmpeg libavformat="" avformat.h="">
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.</ffmpeg>
Why is it still trying to find ffmpeg version after its found the header file already? which is from the ffmpeg install in first place?
oh BTW this is a slackware release.
Last edit: Noel 2020-12-11
OKm we dont seem to be able to close our own tickets on SF.
Please close Justin, the fault lies with slackwares ffmpeg which is built against X
X is not installed, nor should it be on headless servers.