<div dir="auto">Hi Aneeq,</div><div dir="auto"><br></div><div dir="auto">That’s a very old version of Erlang. How did you install it? Could you update it or reinstall it via the package manager? It sounds like it was built on a system that doesn’t quite match yours.</div><div dir="auto"><br></div><div dir="auto">Dominic</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020年10月16日(金) 20:33 Mikael Pettersson <<a href="mailto:mikpelinux@gmail.com">mikpelinux@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">On Fri, Oct 16, 2020 at 9:54 AM Aneeq Abid <<a href="mailto:aneeqabid@gmail.com" target="_blank">aneeqabid@gmail.com</a>> wrote:<br>
><br>
> Dear Mikael Pettersson,<br>
><br>
> I am a rookie with no experience with Erlang at all. Can you please guide me how I can check that? And how I can setup the library/path?<br>
<br>
That's not specific for Erlang. You need someone familiar with<br>
generic Unix/Linux system-level stuff and the configuration of your<br>
server to help you. Google "ldd LD_LIBRARY_PATH".<br>
<br>
Off-hand it appears openssl was installed in a non-standard location.<br>
Don't do that unless you use LD_LIBRARY_PATH (or static linking, but<br>
that's frowned upon). On any reasonably modern Linux distribution you<br>
should just use its default openssl (+ development libraries, they are<br>
usually separate and many forget to install them).<br>
<br>
><br>
> On Fri, 16 Oct 2020, 12:39 pm Mikael Pettersson, <<a href="mailto:mikpelinux@gmail.com" target="_blank">mikpelinux@gmail.com</a>> wrote:<br>
>><br>
>> On Fri, Oct 16, 2020 at 8:35 AM Aneeq Abid <<a href="mailto:aneeqabid@gmail.com" target="_blank">aneeqabid@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hi,<br>
>> ><br>
>> > I am facing the following error. OpenSSL is installed on the server. Can someone please provide any feedback why crypto is missing?<br>
>> ><br>
>> > $ erl<br>
>> > Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]<br>
>> ><br>
>> > Eshell V6.0 (abort with ^G)<br>
>> > 1> crypto:start().<br>
>> > ** exception error: undefined function crypto:start/0<br>
>> > 2><br>
>> > =ERROR REPORT==== 15-Oct-2020::23:28:36 ===<br>
>> > Unable to load crypto library. Failed with error:<br>
>> > "load_failed, Failed to load NIF library: '/usr/local/lib/erlang/lib/crypto-3.3/priv/lib/crypto.so: undefined symbol: HMAC_CTX_init'"<br>
>> > OpenSSL might not be installed on this system.<br>
>><br>
>> Does "ldd /usr/local/lib/erlang/lib/crypto-3.3/priv/lib/crypto.so" in<br>
>> the Unix shell find openssl.so? If not, then that's your problem,<br>
>> and you may need to set up LD_LIBRARY_PATH.<br>
</blockquote></div></div>