When installing openssl make sure your config looks like: > ./config --openssldir=/usr/local/openssl or > ./config --openssldir=/usr/local/ssl If you are planning on upgrading the default OpenSSL libraries on a system like RedHat, not that I would recommend this, then you might try something like: > ./config --openssldir=/usr --shared The --shared option to config will set up building the .so shared libraries which is important for such systems