Discussion:
MacOS 11.6 installation, LibreSSL not recognized as openssl
(too old to reply)
d...@brannerchinese.com
2021-12-17 07:08:31 UTC
Permalink
I'm in the process of installing Alpine 2.25 on MacOS 11.6.1. Where openssl (>= 1.0.0c) is needed, I seem to have LibreSSL 2.8.3, presumably pre-installed with MacOS. Can LibreSSL be used? I'm wary of getting involved with HomeBrew or installing a competing version of openssl.

In detail:

`./configure` output ends:

```
checking Openssl library version >= 1.0.0c... configure: error: Install openssl version >= 1.0.0c
```

But then I query:

```
$ openssl version
LibreSSL 2.8.3
```

So apparently LibreSSL is not being recognized as openssl.

Thanks in advance,

- dpb
Eduardo Chappa
2021-12-18 03:01:21 UTC
Permalink
Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.
* openssl/hkdf.h
* pqueue.h
* all those in compat/ and its subdirectories
I take it those are the header files you mean?
No, there are a few headers that are installed. Take a look at the output
of the command "ls -R openssl" in the /usr/include directory

/usr/include> ls -R openssl/
openssl/:
aes.h cms.h ecdsa.h md5.h rand_drbg.h stack.h
asn1err.h comperr.h ecerr.h mdc2.h randerr.h storeerr.h
asn1.h comp.h ec.h modes.h rand.h store.h
asn1_mac.h conf_api.h engineerr.h objectserr.h rc2.h symhacks.h
asn1t.h conferr.h engine.h objects.h rc4.h tls1.h
asyncerr.h conf.h e_os2.h obj_mac.h rc5.h tserr.h
async.h cryptoerr.h err.h ocsperr.h ripemd.h ts.h
bioerr.h crypto.h evperr.h ocsp.h rsaerr.h txt_db.h
bio.h cterr.h evp.h opensslconf.h rsa.h uierr.h
blowfish.h ct.h fips.h opensslv.h safestack.h ui.h
bnerr.h des.h fips_rand.h ossl_typ.h seed.h whrlpool.h
bn.h dherr.h hmac.h pem2.h sha.h x509err.h
buffererr.h dh.h idea.h pemerr.h srp.h x509.h
buffer.h dsaerr.h kdferr.h pem.h srtp.h x509v3err.h
camellia.h dsa.h kdf.h pkcs12err.h ssl2.h x509v3.h
cast.h dtls1.h lhash.h pkcs12.h ssl3.h x509_vfy.h
cmac.h ebcdic.h md2.h pkcs7err.h sslerr.h
cmserr.h ecdh.h md4.h pkcs7.h ssl.h

These header files are installed as part of the "dev" package. Please
investigate what is appropriate for you. Alpine works well with openssl
and libressl, so once you install these files, you should be ready to
build Alpine.

If you are going to build Libressl, execute the "sudo make install"
command after compiling it.
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
J.O. Aho
2021-12-18 11:37:45 UTC
Permalink
Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.
* openssl/hkdf.h
* pqueue.h
* all those in compat/ and its subdirectories
I take it those are the header files you mean?
No, the header files are "generated" while you build the libressl.
I think you need to install the "Developers Tools" or use homebrew.
--
//Aho
Başar Alabay
2021-12-19 07:53:08 UTC
Permalink
Post by J.O. Aho
Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.
* openssl/hkdf.h
* pqueue.h
* all those in compat/ and its subdirectories
I take it those are the header files you mean?
No, the header files are "generated" while you build the libressl.
I think you need to install the "Developers Tools" or use homebrew.
MacPorts.

B. Alabay

Loading...