checking for library containing SSL_new... no
I'm confused with this line. The SSL_new() is a key function fot the OpenSSL API. It seems like the openssl library that you have built from the sources was not installed properly (I suggest that header files (whicg are usually distributed in -devel packages) are missing. Why can't you use prebuilt rpms for your distro?