View Single Post
  #1  
Old 04-25-2010, 09:17 AM
ykosbie ykosbie is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
ykosbie is on a distinguished road
Default

compile not finding proper openssl libs on osx 1.5


I just built/installed openssl 1.0.0 using the workaround described in the PROBLEMS file of moving the .dylib files temporarily. I added the /usr/local/ssl/bin to my /etc/paths.d and openssl version shows me "OpenSSL 1.0.0 29 Mar 2010". I can successfully run openssl dgst -sha256 on any given file.

For some reason, however, I get the

handshake.h:60: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)

and

Your OpenSSL is too old, need 0.9.8 or newer with SHA256

Thanks,
YYK
Reply With Quote