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

ERROR: aom >= 1.0.0 not found using pkg-config #24

Closed
sergiks opened this issue Apr 8, 2019 · 3 comments
Closed

ERROR: aom >= 1.0.0 not found using pkg-config #24

sergiks opened this issue Apr 8, 2019 · 3 comments

Comments

@sergiks
Copy link

sergiks commented Apr 8, 2019

Under Amazon Web Services Amazon Linux AMI 2018.03 on EC2 t2.micro instance I was trying to compile ffmpeg for use with AWS Lambda.

sudo yum update -y
sudo yum groupinstall -y "Development Tools" "Development Libraries"
bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1")

Command went well including "building ffmpeg ... Done" but failed after that with error

ERROR: aom >= 1.0.0 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
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
@sergiks
Copy link
Author

sergiks commented Apr 8, 2019

I tried updating the build_ffmpeg script with the "aom" url for refs/tags/v1.0.0-errata1:

https://aomedia.googlesource.com/aom/+archive/add4b15580e410c00c927ee366fa65545045a5d9.tar.gz

Deleted packages/aom-build and packages/av1* and re-run build_ffmpeg --build
but even with that "patch" module version looks old:

PKG_CONFIG_PATH="/home/ec2-user/ffmpeg-build-script/packages/aom_build/"   pkg-config --modversion aom
0.1.0

@sergiks
Copy link
Author

sergiks commented Apr 8, 2019

Temporary solution for me was to edit build-ffmpeg: line 376 change from

--enable-libaom

to

--disable-libaom

Eventually built ffmpeg runs perfectly under AWS Lambda.

@markus-perl
Copy link
Owner

Hi Sergiks,

Due to the lack of time and resources, I can currently only support the following platforms:

Mac OSX 10.14 64Bit XCode 10.1
Debian 9.4

You can also try to compile FFmpeg on a Debian machine and then copy the resulting binaries to your EC2 instance.

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

2 participants