You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
autotools configure fails on Ubuntu because pkg-config is forced into static mode #822
On Ubuntu 26.04 with libssl-dev installed, ./configure from the committed autotools script aborts:
checking for library containing EVP_EncryptInit... no
configure: error: can't find compatible openssl crypto lib
configure.ac appends --static to PKG_CONFIG unconditionally, so PKG_CHECK_MODULES and the AC_SEARCH_LIBS probes link every entry of libcrypto's Libs.private. Ubuntu's libcrypto.pc names -l:libjitterentropy.a, and no package installs that archive, so the probe that links a trivial program against a dynamic libcrypto fails on the static line. pkg-config --static --libs libcrypto shows the entry; pkg-config --libs libcrypto is just -lcrypto, and dropping the --static makes ./configure and make succeed on the same host. The CMake and Meson builds are unaffected.
Removing the line narrows the generated libsrtp3.pc's Libs.private, and the NSS backend uses the same path, so this is a maintainer call: drop --static, or apply it only for a static build (--disable-shared / --enable-static). Happy to send either as a PR.
Activity