Unable to build Crypt::SSLeay on OSX 10.11 since the OSX Open SSL libraries are now deprecated.
The libraries were included with the command line tools of 10.10 however the below libraries no longer exist as of 10.11 El Capitan.
/usr/include/openssl
aes.h crypto.h engine.h objects.h rc2.h stack.h
asn1.h des.h err.h ocsp.h rc4.h store.h
asn1_mac.h des_old.h evp.h opensslconf.h rc5.h symhacks.h
asn1t.h dh.h hmac.h opensslv.h ripemd.h tls1.h
bio.h dsa.h krb5_asn.h ossl_typ.h rsa.h tmdiff.h
blowfish.h dso.h kssl.h pem.h safestack.h txt_db.h
bn.h dtls1.h lhash.h pem2.h seed.h ui.h
buffer.h e_os2.h md2.h pkcs12.h sha.h ui_compat.h
cast.h ebcdic.h md4.h pkcs7.h ssl.h x509.h
comp.h ec.h md5.h pq_compat.h ssl2.h x509_vfy.h
conf.h ecdh.h mdc2.h pqueue.h ssl23.h x509v3.h
conf_api.h ecdsa.h obj_mac.h rand.h ssl3.h
Perhaps it is possible to install the missing libraries using
http://brew.sh/ ?