[erlang-questions] Build older versions with right openssl
Dmitry Klionsky
dm.klionsky@REDACTED
Wed Jun 6 15:39:57 CEST 2018
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
> 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/da4fb9d7/attachment.htm>
More information about the erlang-questions
mailing list