Re: OTP 24.0 has been released

Frank Muller <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAFA6GnD8dRNbZ1Vn5xcTX3nnCkJj-RpMH0trbwEFLAu5L8+Pkw@mail.gmail.com>
New issue with libcrypto which is available on my system but couldn’t be
found by configure script.

$ ls -1 /usr/local/opt/[email protected]/lib
*engines-1.1*
libcrypto.1.1.dylib
libcrypto.a
*libcrypto.dylib*
libssl.1.1.dylib
libssl.a
*libssl.dylib*
*pkgconfig*

$ kerl build git https://github.com/erlang/otp.git OTP-24.0 24.0
[...]
checking size of void *... 8
checking for static zlib... no
checking for OpenSSL header in /usr/local/opt/[email protected]... yes
checking for OpenSSL in /usr/local/opt/[email protected]... configure: error:
static linking against crypto library disabled by user, but no dynamic
library found in /usr/local/opt/[email protected]
ERROR: /Users/frank/.kerl/builds/24.0/otp_src_git/lib/crypto/configure
failed!

Please see /Users/frank/.kerl/builds/24.0/otp_build_git.log for full
details.

My "kerl" config:

--disable-hipe --disable-sctp --with-microstate-accounting=extra
--enable-darwin-64bit --enable-dynamic-ssl-lib --enable-kernel-poll
--enable-shared-zlib --enable-smp-support
--enable-threads --enable-wx --with-ssl=$(brew --prefix openssl)

/Frank


> Hi Rickard,
>
> That sound you heard was me facepalming over and over again. I don't
> even remember adding "--enable-sctp" to my configure options in the
> past!
>
> Thank you for the careful examination of what I reported.
> Luke
>
> On Wed, May 12, 2021 at 8:59 AM Rickard Green <[email protected]> wrote:
> >
> > As of OTP 24.0 configure will fail if you request sctp support, by
> passing --enable-sctp, when configure is not able to enable it. If you
> remove --enable-sctp from the command line it will build without sctp
> support.
> >
> > Luke: Although you added --disable-sctp, you still have --enable-sctp on
> the command line. If you remove --enable-sctp it will build without sctp
> support.
> >
> > Regards,
> > Rickard
> > --
> > Rickard Green, Erlang/OTP, Ericsson AB
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.