This happens with the configure script for apache cannot find the “openssl” (or “ssleay”) binaries in any of
/usr/bin/openssl
/usr/sbin/openssl
/usr/apps/opensslThe usual location for “openssl” is /usr/bin/openssl
On a debian system, run
apt-get install openssl