I have compiled openssl from source on my Solaris machine to a newer location apart from the default one. When I set the newly compiled ssl path in PATH variable and LD_Library path and then compile APACHE 64 bit with CFLAGS and CPPFLAGS and CXXFLAGS all set to -O2 -mcpu=v9 -m64 with apr, apr-util and pcre and ssl, the compiler of apache httpd 2.4.10 goes to the correct directory where i have installed ssl 1.0.1k and but shows me that checking ssl version openssl 0.9.8a >= FAILED. openssl version too old.
When i check the openssl version,its giving me 1.0.1k
I even tried the steps as: ./config --prefix=/export/home /Apache24/openssl-1.0.1k thread shared solaris64-gcc -m32.....this command gives that its already configured on sparcv8.
How can i resolve this, I have to compile apache 2.4.10 with 64bit with SSL.
The below is the message i get when i run httpd compilation:
checking for OpenSSL... checking for user-provided OpenSSL base directory... /export/home/Apache24/ssl adding "-I/export/home/Apache24/ssl/include" to CPPFLAGS setting MOD_CFLAGS to "-I/export/home/Apache24/ssl/include " setting ab_CFLAGS to "-I/export/home/Apache24/ssl/include " adding "-L/export/home/Apache24/ssl/lib" to LDFLAGS setting MOD_LDFLAGS to "-L/export/home/Apache24/ssl/lib " checking for OpenSSL version >= 0.9.8a... FAILED configure: WARNING: OpenSSL version is too old no checking whether to enable mod_ssl... configure: error: mod_ssl has been requested but can not be built due to prerequisite failures