santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Herr" <>
Subject Cannot build xml-security-c-1.7.2 on Debian - configure: error: "Unable to find libcrypto"
Date Wed, 10 Feb 2016 10:26:46 GMT
I am trying to build xml-security-c-1.7.2 on Debian, however during
./configure I fail with

configure: error: "Unable to find libcrypto"

The offending line in is

AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/evp.h>]],
[[EVP_EncryptInit(NULL, NULL, NULL, NULL) ; return 0; ]])],,
        [AC_MSG_ERROR(["Unable to find libcrypto"])])

I have libssl-dev installed and the header is also where it should be:

# ldconfig -p | grep openssl (libc6,x86-64) =>
# ldconfig -p | grep crypto (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/ (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/
# ls /usr/include/openssl/evp.h

Also I can build the defined test program manually just fine with gcc
test.cpp -lcrypto. Interestingly the same error also occurs when trying to
build the source available on the Debian repos. The only missing
dependency missing is libxerces-c-dev which I have already compiled from

Apparently this issue isn't new, as I have found two E-Mail
correspondences regarding this:

But neither of these give me a hint where things go wrong or their
resolution did not work.

View raw message