Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-17615

cmake ssl error on musl/libressl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.1.37
    • Fix Version/s: 10.1.38, 5.5.63, 10.0.38
    • Component/s: SSL
    • Labels:
      None
    • Environment:
      Alpine Linux 3.8

      Description

      Since 10.1.37 cmake fails with the following error on alpine linux 3.8 with libressl:

          cmake . -DBUILD_CONFIG=mysql_release \
          		-DCMAKE_INSTALL_PREFIX=/usr \
          		-DSYSCONFDIR=/etc/mysql \
          		-DMYSQL_DATADIR=/var/lib/mysql \
          		-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
          		-DDEFAULT_CHARSET=utf8 \
          		-DDEFAULT_COLLATION=utf8_general_ci \
          		-DENABLED_LOCAL_INFILE=ON \
          		-DINSTALL_INFODIR=share/mysql/docs \
          		-DINSTALL_MANDIR=share/man \
          		-DINSTALL_PLUGINDIR=lib/mysql/plugin \
          		-DINSTALL_SCRIPTDIR=bin \
          		-DINSTALL_INCLUDEDIR=include/mysql \
          		-DINSTALL_DOCREADMEDIR=share/mysql \
          		-DINSTALL_SUPPORTFILESDIR=share/mysql \
          		-DINSTALL_MYSQLSHAREDIR=share/mysql \
          		-DINSTALL_DOCDIR=share/mysql/docs \
          		-DINSTALL_SHAREDIR=share/mysql \
          		-DWITH_READLINE=ON \
          		-DWITH_ZLIB=system \
          		-DWITH_SSL=system \
          		-DWITH_LIBWRAP=OFF \
          		-DWITH_JEMALLOC=no \
          		-DWITH_EXTRA_CHARSETS=complex \
          		-DWITH_EMBEDDED_SERVER=ON \
          		-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
          		-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
          		-DWITH_INNOBASE_STORAGE_ENGINE=1 \
          		-DWITH_PARTITION_STORAGE_ENGINE=1 \
          		-DPLUGIN_TOKUDB=NO \
          		-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
          		-DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
          		-DWITHOUT_PBXT_STORAGE_ENGINE=1; \
       
      CMake Error at cmake/ssl.cmake:222 (MESSAGE):
        Cannot find appropriate system libraries for SSL.  Use WITH_SSL=bundled to
        enable SSL support
      Call Stack (most recent call first):
        CMakeLists.txt:350 (MYSQL_CHECK_SSL)
      

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            chingis Chingis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: