Closed tcwalther closed 1 month ago
Thanks for the report. We should be including the pkg-config files. Will look into it.
Note that it does ship with pkg-config files, one of them is just incomplete. I use the following bash-hack to fix it in my CI setup script:
sed -i '/Libs:/s/$/ -lx264 -lavfilter -lpostproc/' /home/ubuntu/miniconda2/envs/testenv/lib/pkgconfig/libavformat.pc
Right, sorry, misread. Wondering if this is fixed in a newer copy of ffmpeg
. The version we are building is pretty old.
8 years later. Lets close this and please revive if it is still an issue.
The pkg-config file
libavformat.pc
is missing the following linker instructionsAs a result, packages like PyAV don't compile. Appending these shared libraries to the
Libs:
line inlibavformat.pc
fixes it.I don't see where creation of this file is handled in this repository. Is there a way to fix this? Alternatively, is there a way to make libavformat not automatically depend on the inclusion of these libraries?