librtmp not found using pkg-config
我遇到这种情况是:MAC下,ffmpeg config的时候
这时候找到了解决办法 https://github.com/crystal-lang/crystal/issues/4745
终端:export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
comment:
as a side note, it works well after adding openssl
to pkg-config
's path
since it's (openssl
) not default anymore on macOS High Sierra (switched to LibreSSL
instead)
I added this to my .zshrc (.bashrc if you're using bash) after installing openssl with brew install openssl
and it worked great! Thanks