<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>Had the same issue recently on Ubuntu 18.10. OTP 19.3 wants
      OpelSSL 1.0.x. <br>
    </p>
    <p>Make/install OpenSSL:</p>
    <p>curl <a class="moz-txt-link-freetext" href="https://www.openssl.org/source/openssl-1.0.2r.tar.gz">https://www.openssl.org/source/openssl-1.0.2r.tar.gz</a> | tar
      xfz - && cd openssl-1.0.2r && ./config
      --prefix=/usr/local/openssl-1.0.2r -fpic && make
      && sudo make install && cd .. && rm -rf
      openssl-1.0.2r creates=/usr/local/openssl-1.0.2r</p>
    <p>Reconfigure/build OTP 19.3 with the flag<br>
    </p>
    <p>--with-ssl=/usr/local/openssl-1.0.2r</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 5/27/19 2:51 PM, Monk Boy wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPu4U+FqkuE1QQf2NiF0Q1a45X9dZKjvSH3GYwEk0Wtq-pYDJw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi all:</div>
        <div><br>
        </div>
        <div>When I configure the otp_src, I got this:</div>
        <div><br>
        </div>
        <div>```<br>
        </div>
        <div>memacs@memacs-beam:~/下载/otp_src_19.3$ ./configure
           --prefix=/home/memacs/opt/erlang/1903</div>
        <div><br>
        </div>
        <div>............................<br>
        </div>
        <div>checking whether MAP_FIXED is declared... yes</div>
        checking whether MAP_NORESERVE is declared... yes<br>
        configure: WARNING: Security feature -fPIE will be disabled for
        HiPE<br>
        configure: Floating point exceptions disabled by default on
        Linux<br>
        checking whether to redefine FD_SETSIZE... no<br>
        configure: Enable exec_alloc for hipe code allocation<br>
        checking for working poll()... yes<br>
        checking whether epoll is level triggered... yes<br>
        checking whether kernel poll support should be enabled... yes;
        epoll<br>
        checking whether putenv() stores a copy of the key-value pair...
        no<br>
        checking for ld... gcc<br>
        checking for compiler flags for loadable drivers... -g -O2
        -I/home/memacs/下载/otp_src_19.3/erts/x86_64-unknown-linux-gnu  
        -fno-tree-copyrename  -D_GNU_SOURCE -fPIC<br>
        checking for linker for loadable drivers... gcc<br>
        checking for linker flags for loadable drivers... -shared
        -Wl,-Bsymbolic<br>
        checking for 'runtime library path' linker flag... -Wl,-R<br>
        checking for a compiler that handles jumptables... gcc<br>
        checking for static ZLib to be used by SSL in standard
        locations... no<br>
        checking for OpenSSL >= 0.9.7 in standard locations... found;
        but not usable<br>
        configure: WARNING: No (usable) OpenSSL found, skipping ssl, ssh
        and crypto applications<br>
        checking for kstat_open in -lkstat... (cached) no<br>
        checking for kvm_open in -lkvm... no<br>
        checking for javac.sh... no<br>
        checking for javac... javac<br>
        checking for JDK version 1.6... no<br>
        configure: WARNING: Could not find any usable java compiler,
        will skip: jinterface<br>
        checking for c++... c++<br>
        checking for log2... yes<br>
        configure: creating ./config.status<br>
        config.status: creating
        emulator/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        epmd/src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        etc/common/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        include/internal/x86_64-unknown-linux-gnu/<a
          href="http://ethread.mk" moz-do-not-send="true">ethread.mk</a><br>
        config.status: creating
        include/internal/x86_64-unknown-linux-gnu/<a
          href="http://erts_internal.mk" moz-do-not-send="true">erts_internal.mk</a><br>
        config.status: creating
        lib_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating Makefile<br>
        config.status: creating ../make/x86_64-unknown-linux-gnu/<a
          href="http://otp.mk" moz-do-not-send="true">otp.mk</a><br>
        config.status: creating ../make/x86_64-unknown-linux-gnu/<a
          href="http://otp_ded.mk" moz-do-not-send="true">otp_ded.mk</a><br>
        config.status: creating ../make/make_emakefile<br>
        config.status: creating
        ../lib/ic/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        ../lib/os_mon/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        ../lib/crypto/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        ../lib/orber/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        ../lib/runtime_tools/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating
        ../lib/tools/c_src/x86_64-unknown-linux-gnu/Makefile<br>
        config.status: creating x86_64-unknown-linux-gnu/config.h<br>
        config.status: x86_64-unknown-linux-gnu/config.h is unchanged<br>
        config.status: creating
        include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h<br>
        config.status:
        include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h
        is unchanged<br>
        config.status: creating
        include/x86_64-unknown-linux-gnu/erl_int_sizes_config.h<br>
        config.status:
        include/x86_64-unknown-linux-gnu/erl_int_sizes_config.h is
        unchanged<br>
*********************************************************************<br>
        **********************  APPLICATIONS DISABLED
         **********************<br>
*********************************************************************<br>
        <br>
        crypto         : No usable OpenSSL found<br>
        jinterface     : No Java compiler found<br>
        ssh            : No usable OpenSSL found<br>
        ssl            : No usable OpenSSL found<br>
        <br>
*********************************************************************<br>
*********************************************************************<br>
        **********************  APPLICATIONS INFORMATION
         *******************<br>
*********************************************************************<br>
        <br>
        wx             : wxWidgets not found, wx will NOT be usable<br>
        <br>
*********************************************************************<br>
        memacs@memacs-beam:~/下载/otp_src_19.3$ openssl version<br>
        OpenSSL 1.1.0g  2 Nov 2017<br>
        memacs@memacs-beam:~/下载/otp_src_19.3$ uname -a<br>
        Linux memacs-beam 4.18.0-20-generic #21~18.04.1-Ubuntu SMP Wed
        May 8 08:43:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux<br>
        memacs@memacs-beam:~/下载/otp_src_19.3$ sudo apt-get install
        libssl-dev<br>
        正在读取软件包列表... 完成<br>
        正在分析软件包的依赖关系树       <br>
        正在读取状态信息... 完成       <br>
        libssl-dev 已经是最新版 (1.1.0g-2ubuntu4.3)。<br>
        升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。<br>
        <div>memacs@memacs-beam:~/下载/otp_src_19.3$ <br>
        </div>
        <div>```</div>
        <div><br>
        </div>
        <div>The openssl is installed, but why it is unusable?<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>
  </body>
</html>