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

CMake SSL compilation error with OpenSSL 1.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.1.38
    • N/A
    • SSL
    • None
    • Alpine Linux 3.9

    Description

          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; \
       
      -- Performing Test OLD_OPENSSL_API
      -- Performing Test OLD_OPENSSL_API - Failed
      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

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              chingis Chingis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.