Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing "ERROR: vidstab >= 0.98 not found using pkg-config" while installing nstalling ffmpeg with vid.stab #113

Open
sudb97 opened this issue Nov 30, 2021 · 2 comments

Comments

@sudb97
Copy link

sudb97 commented Nov 30, 2021

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:

  1. cd path/to/ffmpeg/dir/
  2. ./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: #65 but was not able to understand and fix my issue.

@haphaeu
Copy link

haphaeu commented Sep 5, 2022

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

@thinrope
Copy link
Contributor

We can probably close that issue as env-dependent (and on a quiet old version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants