<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="moz-txt-link-freetext" href="http://www.erlang.org/download/otp_src_$">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="moz-cite-prefix">On 06/06/2018 04:29 PM, Vlad Dumitrescu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA-EFXtkTHmK0Pa2C-yZZ24tgumNgzz0kLmnn+LNnG-nJNHBjA@mail.gmail.com">
<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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
BR,
Dmitry
</pre>
</body>
</html>