vid.stab
vid.stab copied to clipboard
Facing "ERROR: vidstab >= 0.98 not found using pkg-config" while installing nstalling ffmpeg with vid.stab
Hi I am following the installation guide given on vid.stab installation page(https://github.com/georgmartius/vid.stab#installation-instructions). I have successfully installed vid.stab with make. But while installing ffmpeg i am getting the below mentioned error.
Used Commands:
- cd path/to/ffmpeg/dir/
- ./configure --enable-gpl --enable-libvidstab
After this command getting the error:
ERROR: vidstab >= 0.98 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 [email protected] mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.
ffbuild/config.log Contents:
usr/bin/ld: /tmp/ffconf.hxvCZnls/test.o: in function foo': test.c:(.text+0xb5): undefined reference to
cexp'
collect2: error: ld returned 1 exit status
require_pkg_config libvidstab vidstab >= 0.98 vid.stab/libvidstab.h vsMotionDetectInit
check_pkg_config libvidstab vidstab >= 0.98 vid.stab/libvidstab.h vsMotionDetectInit
test_pkg_config libvidstab vidstab >= 0.98 vid.stab/libvidstab.h vsMotionDetectInit
false --exists --print-errors vidstab >= 0.98
ERROR: vidstab >= 0.98 not found using pkg-config
I can find one similar issue already reported URL: https://github.com/georgmartius/vid.stab/issues/65 but was not able to understand and fix my issue.
For some reason, my shell was not correctly seeting PKG_CONFIG_PATH
using the proposed one line command.
It solved for me to just split in to lines:
export PKG_CONFIG_PATH=path\to\lib\pkgconfig
./configure --enable-gpl --enable-libvidstab
and if you want to keep it tidy:
unset PKG_CONFIG_PATH
We can probably close that issue as env-dependent (and on a quiet old version).