Hi,

config/ax_ssl.m4 checks if you have an "ssl" library and if there is an 
MD5_Init() function exported from there.

One reason for the error could be is that you do not have the ssl installed. To 
solve that you need to install the libssl-dev library if I remember correctly.
apt-get install libssl-dev   # or the equivalent on your system.

If that did not help, then another reason I ran into is that on some systems 
the MD5_Init() function is exported from the "crypto" library.
For this you can fix the ax_ssl.m4 to also try loading crypto, by applying the 
following patch:

 AC_CHECK_LIB(ssl, MD5_Init,
-             [SSL_LIBS="-lssl"; AC_SUBST(SSL_LIBS) break],
-             [AC_ERROR([openssl/md5.h not found. NOX requires OpenSSL])])
+             [SSL_LIBS="-lssl"; AC_SUBST(SSL_LIBS) break],[
+             AC_CHECK_LIB(crypto, MD5_Init,
+             [SSL_LIBS="-lssl -lcrypto"; AC_SUBST(SSL_LIBS) break],
+             [AC_ERROR([MD5_Init() is not linkable. NOX requires OpenSSL])])])


Regards,
Zoltan.

________________________________________
From: nox-dev-boun...@noxrepo.org [nox-dev-boun...@noxrepo.org] On Behalf Of 
aurisabel fereira [aurisab...@hotmail.com]
Sent: Thursday, January 12, 2012 10:03 PM
To: nox-dev@noxrepo.org
Subject: [nox-dev] error with try to ./configure

Hi

I get this message when I execute  ./configure

"configure: error: openssl/md5.h not found. NOX requires OpenSSL"

Any idea what this error could be?

Thanks

Aurisabel
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to