Closed dison4linux closed 1 month ago
Try checking if the file libdrm.pc
exists on your device. On my device, it can be found at the following path:
/usr/local/lib/pkgconfig/libdrm.pc
Next, set the PKG_CONFIG_PATH
environment variable:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
Then try compiling again.
Regarding your compilation issue, this is not a problem solely related to this repository. Please consider using other community features instead of an issue.
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation#examples
$ dpkg-query -l | grep -E "pkgconf|pkg-config"
ii libpkgconf3:arm64 1.8.1-1 arm64 shared library for pkgconf
ii pkg-config:arm64 1.8.1-1 arm64 manage compile and link flags for libraries (transitional package)
ii pkgconf:arm64 1.8.1-1 arm64 manage compile and link flags for libraries
ii pkgconf-bin 1.8.1-1 arm64 manage compile and link flags for libraries (binaries)
$ ls -lh /usr/lib/aarch64-linux-gnu/pkgconfig/ | grep libdrm.pc
-rw-r--r-- 1 root root 256 Mar 23 2023 libdrm.pc
Thanks, it was installing pkgconf itself that was needed I missed that listed in the guide... " ...such as git,meson,cmake,pkg-config,gcc,libdrm-dev,etc... "
I'm following the compilation procedure in the wiki pretty much word for word but am running into the error:
ERROR: libdrm not found using pkg-config
LibDRM is installed
But on the configure step for ffmpeg it complains that libdrm is not found...
The contents of that file mentioned contain the same error
ERROR: libdrm not found using pkg-config