[erlang-questions] Build older versions with right openssl

Dmitry Klionsky dm.klionsky@REDACTED
Wed Jun 6 15:56:18 CEST 2018


 >> Now only to check wich libssl version each OTP version requires,

It's try & guess :)

 >> and where to get it from :-)

https://www.openssl.org/source/


On 06/06/2018 04:53 PM, Vlad Dumitrescu wrote:
> Great Dmitry, thanks!
>
> Now only to check wich libssl version each OTP version requires, and 
> where to get it from :-)
>
> best regards,
> Vlad
>
>
> On Wed, Jun 6, 2018 at 3:40 PM Dmitry Klionsky <dm.klionsky@REDACTED 
> <mailto:dm.klionsky@REDACTED>> wrote:
>
>     Hi,
>
>     This is how I build R12B5 on CentOS7 in Docker.
>
>     ENV ERLANG_VERSION R12B-5
>
>     ENV openssl openssl-1.0.2o
>
>     COPY src/${openssl}.tar.gz /tmp/
>     RUN cat /tmp/${openssl}.tar.gz | tar xfz - && cd ${openssl} && \
>         ./config --prefix=/usr -fpic shared && \
>         make && \
>         make install && \
>         ldconfig && \
>         cd .. && rm -rf ${openssl} /tmp/${openssl}.tar.gz
>
>     RUN curl -S -L
>     http://www.erlang.org/download/otp_src_${ERLANG_VERSION}.tar.gz |
>     tar xz && \
>         cd otp_src_${ERLANG_VERSION}/ && \
>         ./configure --prefix=/opt/${ERLANG_VERSION} --without-wx
>     --without-javac --without-odbc --disable-dynamic-ssl-lib && \
>         make && \
>         make install && \
>         rm -rf /tmp/otp_src_${ERLANG_VERSION}*
>
>
>
>
>
>     On 06/06/2018 04:29 PM, Vlad Dumitrescu wrote:
>>     Hi all,
>>
>>     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. How can I make it work? I have little
>>     experience in this area...
>>
>>     best regards,
>>     Vlad
>>
>>
>>
>>     _______________________________________________
>>     erlang-questions mailing list
>>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>>     http://erlang.org/mailman/listinfo/erlang-questions
>
>     -- 
>     BR,
>     Dmitry
>
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
>

-- 
BR,
Dmitry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180606/2bdad295/attachment.htm>


More information about the erlang-questions mailing list