[erlang-questions] Problems with compiling esock_ssl solved

Tony Rogvall tony@REDACTED
Thu Nov 6 11:33:12 CET 2008


Hi list!

For you building on mac os x and stumble on this:

I have a /opt/local installation of openssl 0.9.8 from macports and a  
"standard" 0.9.7 installation
from Apple (will openssl ever reach 1.0 ;-)

When configure without thinking about it, there will then be a linking  
problem since the
compiler gcc4.0.1 will select headers from /opt/local/include (for  
some obscure reason)
and libraries from /usr/lib.

To solve this then do: configure --with-ssl=/opt/local  ...

to select the openssl from macports.

Unfortunately 0.9.8 need zlib so you have to patch the ssl/c_src/ 
Makefile to add -lz
maybe this could be done by default to next otp release?

Hopefully someone has a better solution?

totally confused (as always)!

/Tony




More information about the erlang-questions mailing list