Tsung problem with crypto.so when testing https

I am using Tsung for load testing. I have installed Erlang / OTP R16B03-1 and Tsung 1.5.1 on CentOS 6.4 and openssl 1.0.1e-fips. Everything was compiled successfully except at startup. / configure for Tsung, there is a warning:

WARNING: ssl application is not working correctly.

Now when I run Tsung to boot my https server it gives me this error:

Unable to load crypto library. Failed with error: "load_failed, Failed to load NIF library: '/usr/local/lib/erlang/lib/crypto-3.2/priv/lib/crypto.so: undefinedsymbol: EC_GROUP_new_curve_GF2m" OpenSSL may not be installed on this system.

I am aware of openssl EC cryptosystems in Centos / RHEL (see http://erlang.org/pipermail/erlang-questions/2014-February/076760.html ) but have not found a solution to this problem, Should I update openssl or recompile Erlang without EC option?

+3


source to share


1 answer


I found him! Just reinstall erlang from sources. I downloaded the 17th version. http://www.erlang.org/download/otp_src_17.0.tar.gz And everything works great! Also check this: https://github.com/ngocdaothanh/tsart/blob/master/amazonlinux.md



Everything is cool there, except for the Erlang and Tsung version. So I chose erlang version 17 and Tsung 1.5.1. I spent almost 2 days to set it up.

+2


source







All Articles