<div dir="ltr"><div><div>All,<br></div>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 :<br><br>Unable to load crypto library. Failed with error:<br>"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'"<br>OpenSSL might not be installed on this system.<br><br>=WARNING REPORT==== 18-Jan-2015::06:57:16 ===<br>The on_load function for module crypto returned {error,<br>                                                 {load_failed,<br>                                                  "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'"}}<br><br>=ERROR REPORT==== 18-Jan-2015::06:57:16 ===<br>Error in process <0.160.0> on node 'erws@sasnedatzad07' 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}]}]}<br><br><br></div><div>I have ld.so.1 in my path too.<br></div><div>Can anyone help me regarding this? Resolution or Work-around anything will be highly appreciated.<br></div><div>Thanks.<br></div></div>