<div dir="ltr">Great Dmitry, thanks! <div><br></div><div>Now only to check wich libssl version each OTP version requires, and where to get it from :-) <div><br></div><div>best regards,</div><div>Vlad</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 6, 2018 at 3:40 PM Dmitry Klionsky <<a href="mailto:dm.klionsky@gmail.com">dm.klionsky@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi, <br>
</p>
<p>This is how I build R12B5 on CentOS7 in Docker.</p>
<p>ENV ERLANG_VERSION R12B-5</p>
<p>ENV openssl openssl-1.0.2o</p>
<p>COPY src/${openssl}.tar.gz /tmp/<br>
RUN cat /tmp/${openssl}.tar.gz | tar xfz - && cd
${openssl} && \<br>
./config --prefix=/usr -fpic shared && \<br>
make && \<br>
make install && \<br>
ldconfig && \<br>
cd .. && rm -rf ${openssl} /tmp/${openssl}.tar.gz<br>
</p>
<p>RUN curl -S -L
<a class="m_7378899630064176061moz-txt-link-freetext" href="http://www.erlang.org/download/otp_src_$" target="_blank">http://www.erlang.org/download/otp_src_$</a>{ERLANG_VERSION}.tar.gz |
tar xz && \<br>
cd otp_src_${ERLANG_VERSION}/ && \<br>
./configure --prefix=/opt/${ERLANG_VERSION} --without-wx
--without-javac --without-odbc --disable-dynamic-ssl-lib
&& \<br>
make && \<br>
make install && \<br>
rm -rf /tmp/otp_src_${ERLANG_VERSION}*</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="m_7378899630064176061moz-cite-prefix">On 06/06/2018 04:29 PM, Vlad Dumitrescu
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I have a need to rebuild older versions of Erlang on Ubuntu
and it works fine for v20, but for the others I get "no usable
openssl found". I assume that's because a specific version of
the libs is required (what I have is 1.1.0). I need the crypto
application available.
<span style="color:rgb(34,34,34);font-family:sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">How
can I make it work?<span> I have little experience in this
area...</span></span></div>
<div><br>
</div>
<div>best regards,</div>
<div>Vlad</div>
<div><br>
</div>
</div>
<br>
<fieldset class="m_7378899630064176061mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
erlang-questions mailing list
<a class="m_7378899630064176061moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a class="m_7378899630064176061moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
<pre class="m_7378899630064176061moz-signature" cols="72">--
BR,
Dmitry
</pre>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>