I have to reinstall Cyrus SASL since I want to have NTLM support. So I download the latest version (2.1.23 which was previously installed on the same computer I might add) and start to configure it. I choose to include OpenSSL with flag
Code:
--with-openssl=/usr/local/ssl
But it can't seem to find the installation. This is what the output says:
Code:
./configure --with-openssl=/usr/local/ssl | sed --silent '/evp/,/OpenSSL/p'
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... no
checking for OpenSSL... no
configure: WARNING: OpenSSL not found -- OTP will be disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
configure: WARNING: Disabling GSSAPI - no include files found
configure: WARNING: OpenSSL not found -- NTLM will be disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... no
checking for OpenSSL... no
configure: WARNING: Disabling GSSAPI - no include files found
It seems it can't find my OpenSSL. I tried with another computer and there, it finds OpenSSL no matter what dir I specify for it. I've tried to have a look at cmulocal/openssl.m4 but I can't figure out the meaning of it. I also tried to have a look at the config.log file that is created when running configure but it's huge and I can't find any more info at first glance.
Suggestions on the Internet are to specify LDFLAGS and CPPFLAGS which I've done without success. I've run ldconfig after including the SSL-libdirs and no success there either.
My OpenSSL situation might be the problem. I first had version 0.9.8n installed along with 0.9.8n solibs (what are these?). I then removed both of these, installed 1.0.0a and then added 0.9.8n solibs because httpd was complaining. I read somewhere that SASL is reacting the way it is because I might have two installations but the solibs is not a complete installation, no binaries. Also, I uninstalled the 0.9.8n solibs but I still had no success with the configuration and OpenSSL could still not be found.