ERROR: librtmp not found using pkg-config
Closed this issue · 5 comments
android-ndk-r10d
Linux localhost.localdomain 3.10.0-229.1.2.el7.x86_64 #1 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.1.1503 (Core)
ERROR: librtmp not found using pkg-config
pkg-config is installed and is version 0.27.1
contents of build/dist/lib
libcrypto.so librtmp-1.so libssl.so
same as this issue: #12 with the same output in config.log. openssl is installed on my system.
libssl.so is located at android-ffmpeg-with-rtmp/src/openssl-andoid/libs/armeabi/libssl.so, but there is no pkgconfig subdirectory or any libssl.pc file.
also the same as #4 except pkg-config is installed. It looks like the user created the .pc file by hand. I am going to try this fix, as well.
On CentOS:
sudo yum install openssl-devel
achieves that same thing that
brew install openssl
does on the MAC
Android NDK: WARNING:/root/Desktop/master/src/openssl-android/crypto/Android.mk:crypto_static: LOCAL_LDLIBS is always ignored for static libraries
[armeabi] Install : libcrypto.so => libs/armeabi/libcrypto.so
[armeabi] Install : openssl => libs/armeabi/openssl
[armeabi] Install : libssl.so => libs/armeabi/libssl.so
[armeabi] Install : ssltest => libs/armeabi/ssltest
patching file Makefile
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
Problem solved, tks @inkidu for info, i love you.
I deleted the master source and downloaded again the android-ffmpeg-with-rtmp-master
try again and work PERFECT. Tks 👍