Skip to content

PHP7.4-RC IMAP Extension - OpenSSL not found #891

Closed
@michaljusiega

Description

@michaljusiega

Hello. I can't install PHP 7.4 IMAP extension using a docker image.

checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking for krb5-gssapi krb5... yes
configure: error: OpenSSL libraries not found.

      Check the path given to --with-openssl-dir and output in config.log)

My dockerfile:

ENV DEBIAN_LIBS \
    bzip2 \
    chromium \
    chromium-driver \
    cloc \
    dpkg \
    firebird-dev \
    git \
    iputils-ping\
    libaio-dev \
    libbz2-dev \
    libc-client-dev \
    libffi-dev \
    libicu-dev \
    libjpeg-dev \
    libkrb5-dev \
    libldap2-dev\
    libpng-dev \
    libpq-dev \
    libssl-dev \
    libtidy-dev \
    libxml2-dev \
    libxslt-dev \
    libzip-dev \
    mcedit \
    memcached \
    openjdk-11-jdk \
    openssl \
    proftpd \
    redis-server \
    supervisor \
    tesseract-ocr \
    tesseract-ocr-eng \
    tesseract-ocr-pol \
    unixodbc-dev \
    unzip \
    vim \
    wget \
    wkhtmltopdf \
    xauth \
    xvfb \
    zip \
    zlib1g-dev \
    libcurl4-openssl-dev \
    pkg-config \
    libsasl2-dev

docker-php-source extract \
&& docker-php-ext-configure imap --with-kerberos --with-ssl && docker-php-ext-install -j$(nproc) imap

On PHP 7.3 is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions