Because of disabled cipher suite, currently it’s not possible to compile Erlang R16 under CentOS 6.4 with up-to-date OpenSSL (1.0.1e-16.el6_5.7). The solution can already be found on
erlang-questions but I thought it might be useful to store it somewhere else too. 🙂
The symptom of a problem appears when you try to do anything with
Unable to load crypto library. Failed with error: "load_failed, Failed to load NIF library: 'crypto.so: undefined symbol: EC_GROUP_new_curve_GF2m'"
To solve it, recompiling OTP is necessary with new environment variable set during configuration phase:
CFLAGS="-DOPENSSL_NO_EC=1 -O2 -g" ./configure
Worked for me with R16B03-1. 🙂 I don’t know if the problem still occurs with R17.
Edit: I forgot that setting
CFLAGS overrides default
-O2 -g used for OTP compilation. Fixed above. 😉