[erlang-questions] symbol SSLeay: referenced symbol not found

Akash Chowdhury achowdhury918@REDACTED
Sun Jan 18 16:19:26 CET 2015


All,
I am initializing websocket request to my erlang server which uses cowboy.
I have installed openssl too. My operating system is Unix Solaris
(sparc-sun-solaris2.10). I have installed openssl-1.0.1l. I am getting
following error :

Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: 'ld.so.1: beam.smp: fatal:
relocation error: file
/apps/erlang/otp_src_17.4/lib/crypto/priv/lib/sparc-sun-solaris2.10/crypto.so:
symbol SSLeay: referenced symbol not found'"
OpenSSL might not be installed on this system.

=WARNING REPORT==== 18-Jan-2015::06:57:16 ===
The on_load function for module crypto returned {error,
                                                 {load_failed,
                                                  "Failed to load NIF
library: 'ld.so.1: beam.smp: fatal: relocation error: file
/apps/erlang/otp_src_17.4/lib/crypto/priv/lib/sparc-sun-solaris2.10/crypto.so:
symbol SSLeay: referenced symbol not found'"}}

=ERROR REPORT==== 18-Jan-2015::06:57:16 ===
Error in process <0.160.0> on node 'erws@REDACTED' with exit value:
{undef,[{crypto,hash,[sha,<<60
bytes>>],[]},{cowboy_websocket,websocket_handshake,3,[{file,"cowboy_websocket.erl"},{line,154}]},{cowboy_protocol,execute,4,[{file,"cowboy_protocol.erl"},{line,467}]}]}


I have ld.so.1 in my path too.
Can anyone help me regarding this? Resolution or Work-around anything will
be highly appreciated.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150118/5ad16315/attachment.htm>


More information about the erlang-questions mailing list