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

build-wheel error with PyAV: pkg-config could not find libraries #1018

Closed
sinabolouki opened this issue Nov 6, 2023 · 1 comment
Closed

Comments

@sinabolouki
Copy link

Describe your issue

I'm trying to build the pyAV for Chaquopy but I face this error:

build-wheel: cd /root/chaquopyStuff/chaquopy/server/pypi/packages/av/build/10.0.0/cp310-cp310-android_21_armeabi_v7a/src
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavdevice was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavdevice.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavdevice' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavfilter' found
Package libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswscale.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libswresample' found
pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']
build-wheel: Error: Backend subprocess exited when trying to invoke build_wheel

can anyone help fix this?

@mhsmith mhsmith changed the title build-wheel error: pkg-config could not find libraries build-wheel error with PyAV: pkg-config could not find libraries Nov 7, 2023
@mhsmith
Copy link
Member

mhsmith commented Nov 7, 2023

Merged into #1012.

@mhsmith mhsmith closed this as completed Nov 7, 2023
@mhsmith mhsmith removed the packages label Nov 7, 2023
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