Skip to content

Dependencies

Magnus Edenhill edited this page Sep 20, 2017 · 1 revision

Cyrus-SASL and OpenSSL availability per platform

centos:6

Packages:

cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
openssl-1.0.1e-57.el6.x86_64

SASL:

/usr/lib64/libsasl2.so.2
/usr/lib64/libsasl2.so.2.0.23
/usr/lib64/sasl2/libanonymous.so
/usr/lib64/sasl2/libanonymous.so.2
/usr/lib64/sasl2/libanonymous.so.2.0.23
/usr/lib64/sasl2/libsasldb.so
/usr/lib64/sasl2/libsasldb.so.2
/usr/lib64/sasl2/libsasldb.so.2.0.23

OpenSSL:

/usr/lib64/.libcrypto.so.1.0.1e.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/.libssl.so.1.0.1e.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libcrypto.so.1.0.1e
/usr/lib64/libcrypto.so.10
/usr/lib64/libssl.so.1.0.1e
/usr/lib64/libssl.so.10
/usr/lib64/openssl/engines/lib4758cca.so
/usr/lib64/openssl/engines/libaep.so
/usr/lib64/openssl/engines/libatalla.so
/usr/lib64/openssl/engines/libcapi.so
/usr/lib64/openssl/engines/libchil.so
/usr/lib64/openssl/engines/libcswift.so
/usr/lib64/openssl/engines/libgmp.so
/usr/lib64/openssl/engines/libnuron.so
/usr/lib64/openssl/engines/libpadlock.so
/usr/lib64/openssl/engines/libsureware.so
/usr/lib64/openssl/engines/libubsec.so

centos:7

Packages:

cyrus-sasl-lib-2.1.26-21.el7.x86_64
openssl-libs-1.0.2k-8.el7.x86_64

SASL:

/usr/lib64/libsasl2.so.3
/usr/lib64/libsasl2.so.3.0.0
/usr/lib64/sasl2/libanonymous.so
/usr/lib64/sasl2/libanonymous.so.3
/usr/lib64/sasl2/libanonymous.so.3.0.0
/usr/lib64/sasl2/libsasldb.so
/usr/lib64/sasl2/libsasldb.so.3
/usr/lib64/sasl2/libsasldb.so.3.0.0

OpenSSL:

/usr/lib64/.libcrypto.so.1.0.2k.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/.libssl.so.1.0.2k.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libcrypto.so.1.0.2k
/usr/lib64/libcrypto.so.10
/usr/lib64/libssl.so.1.0.2k
/usr/lib64/libssl.so.10
/usr/lib64/openssl/engines/lib4758cca.so
/usr/lib64/openssl/engines/libaep.so
/usr/lib64/openssl/engines/libatalla.so
/usr/lib64/openssl/engines/libcapi.so
/usr/lib64/openssl/engines/libchil.so
/usr/lib64/openssl/engines/libcswift.so
/usr/lib64/openssl/engines/libgmp.so
/usr/lib64/openssl/engines/libnuron.so
/usr/lib64/openssl/engines/libpadlock.so
/usr/lib64/openssl/engines/libsureware.so
/usr/lib64/openssl/engines/libubsec.so

ubuntu:14.04

grep: /etc/system-release: No such file or directory

Packages:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                               Version                        Architecture                   Description
+++-==================================================-==============================-==============================-=========================================================================================================
ii  libsasl2-2:amd64                                   2.1.25.dfsg1-17build1          amd64                          Cyrus SASL - authentication abstraction library
ii  libssl1.0.0:amd64                                  1.0.1f-1ubuntu2.22             amd64                          Secure Sockets Layer toolkit - shared libraries

SASL:

/usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
/usr/lib/x86_64-linux-gnu/libsasl2.so.2

OpenSSL:

/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libatalla.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libchil.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/lib4758cca.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libsureware.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libubsec.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libnuron.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcapi.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgmp.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libaep.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcswift.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so

ubuntu:16.04

Packages:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                               Version                        Architecture                   Description
+++-==================================================-==============================-==============================-=========================================================================================================
ii  libsasl2-2:amd64                                   2.1.26.dfsg1-14build1          amd64                          Cyrus SASL - authentication abstraction library
ii  libssl1.0.0:amd64                                  1.0.2g-1ubuntu4.8              amd64                          Secure Sockets Layer toolkit - shared libraries

SASL:

/usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
/usr/lib/x86_64-linux-gnu/libsasl2.so.2

OpenSSL:

/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libaep.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libchil.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libatalla.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libsureware.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgmp.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcswift.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcapi.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/lib4758cca.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libnuron.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libubsec.so

ubuntu:17.04

Packages:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                               Version                        Architecture                   Description
+++-==================================================-==============================-==============================-=========================================================================================================
ii  libsasl2-2:amd64                                   2.1.27~101-g0780600+dfsg-2ubun amd64                          Cyrus SASL - authentication abstraction library
ii  libssl1.0.0:amd64                                  1.0.2g-1ubuntu11.2             amd64                          Secure Sockets Layer toolkit - shared libraries

SASL:

/usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
/usr/lib/x86_64-linux-gnu/libsasl2.so.2

OpenSSL:

/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/lib4758cca.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libaep.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libatalla.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcapi.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libchil.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcswift.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgmp.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libnuron.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libsureware.so
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libubsec.so

Gathering script

The above information was gathered with the following script:

#!/bin/bash
#

set -e

if [[ -f /.dockerenv ]]; then
    # In docker

    if grep -qi 'centos.* 6' /etc/system-release ; then
        # Centos 6
        yum install -q -y cyrus-sasl-lib openssl >/dev/null
        echo ''
        echo '**Packages:**'
        echo '```'
        rpm -qa cyrus-sasl-lib openssl
        echo '```'
        echo '**SASL:**'
        echo '```'
        rpm -ql cyrus-sasl-lib | grep '\.so'
        echo '```'
        echo '**OpenSSL:**'
        echo '```'
        rpm -ql openssl | grep '\.so'
        echo '```'

    elif grep -qi centos /etc/os-release ; then
        # Centos >= 7
        yum install -q -y cyrus-sasl-lib openssl-libs >/dev/null
        echo ''
        echo '**Packages:**'
        echo '```'
        rpm -qa cyrus-sasl-lib openssl-libs
        echo '```'
        echo '**SASL:**'
        echo '```'
        rpm -ql cyrus-sasl-lib | grep '\.so'
        echo '```'
        echo '**OpenSSL:**'
        echo '```'
        rpm -ql openssl-libs | grep '\.so'
        echo '```'

    elif grep -qi debian /etc/os-release ; then
        # Debian and Ubuntu
        apt-get update >/dev/null
        apt-get install -y libsasl2-2 libssl1.0.0 >/dev/null
        echo ''
        echo '**Packages:**'
        echo '```'
        dpkg -l libsasl2-2 libssl1.0.0
        echo '```'
        echo '**SASL:**'
        echo '```'
        dpkg -L libsasl2-2 | grep '\.so'
        echo '```'
        echo '**OpenSSL:**'
        echo '```'
        dpkg -L libssl1.0.0 | grep '\.so'
        echo '```'
    else
        echo "Unknown platform?"
        exit 1
    fi

    exit 0

else
    IMAGES="centos:6 centos:7 ubuntu:14.04 ubuntu:16.04 ubuntu:17.04"

    for IMAGE in $IMAGES; do
        echo "## $IMAGE"
        docker run -t -v "$(pwd):/io" $IMAGE /io/check-libs.sh
    done
fi