• MacOS 11.6 installation, LibreSSL not recognized as openssl

    From dpb@brannerchinese.com@21:1/5 to All on Thu Dec 16 23:08:31 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eduardo Chappa@21:1/5 to d...@brannerchinese.com on Fri Dec 17 07:57:49 2021
    On Thu, 16 Dec 2021, d...@brannerchinese.com wrote:

    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.

    Dear Dpb,

    The reason why you are getting this error is probably because you have not
    yet installed the header files for Libressl, so install those first, and recompile Alpine. In my opensuse distribution this is an independent
    package of the binary, and it is called a "-dev" package. I hope this
    helps you to find the correct package you need to install.

    Thank you.

    --
    Eduardo
    https://tinyurl.com/yc377wlh (web)
    http://repo.or.cz/alpine.git (Git)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dpb@brannerchinese.com@21:1/5 to All on Fri Dec 17 14:46:30 2021
    Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.

    It appears to me that the only C headers there, not already in the libressl directory of Alpine 2.25, are:

    * openssl/hkdf.h
    * pqueue.h
    * all those in compat/ and its subdirectories

    I take it those are the header files you mean?

    - dpb

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eduardo Chappa@21:1/5 to d...@brannerchinese.com on Fri Dec 17 20:01:21 2021
    On Fri, 17 Dec 2021, d...@brannerchinese.com wrote:

    Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.

    It appears to me that the only C headers there, not already in the libressl directory of Alpine 2.25, are:

    * 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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From J.O. Aho@21:1/5 to d...@brannerchinese.com on Sat Dec 18 12:37:45 2021
    On 17/12/2021 23.46, d...@brannerchinese.com wrote:
    Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.

    It appears to me that the only C headers there, not already in the libressl directory of Alpine 2.25, are:

    * 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Levine@21:1/5 to All on Sat Dec 18 14:40:17 2021
    According to d...@brannerchinese.com <dpb@brannerchinese.com>:
    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.

    So apparently LibreSSL is not being recognized as openssl.

    I had to install openssl from macports to get Alpine to compile. Once I did, it works fine.

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Ba=C5=9Far?= Alabay@21:1/5 to J.O. Aho on Sun Dec 19 07:53:08 2021
    J.O. Aho wrote:

    On 17/12/2021 23.46, d...@brannerchinese.com wrote:
    Thanks. I find the libressl-2.8.3 sourcecode at https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/.

    It appears to me that the only C headers there, not already in the libressl directory of Alpine 2.25, are:

    * 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)