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

MariaDB 10.2 (Debian package) - Dangling MySQL compatibility symlinks

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.6
    • N/A
    • Packaging, Platform Debian
    • None
    • Debian 9/Stretch

    Description

      Compatibility symlinks for MySQL are broken for both i386/amd64 builds.

      For instance, after installing the MariaDB server and client library as usually, including the libmariadb-dev package we get:

      root@stretch:~#  LANG=C ls -la /usr/lib/libmysqlclient.so 
      lrwxrwxrwx 1 root root 20 May 15 01:20 /usr/lib/libmysqlclient.so -> libmysqlclient.so.18
      

      root@stretch:~#  LANG=C ls -la /usr/lib/libmysqlclient.so.18
      ls: cannot access '/usr/lib/libmysqlclient.so.18': No such file or directory
      

      However:

      root@stretch:~#  LANG=C ls -la /usr/lib/x86_64-linux-gnu/libmysqlclient*
      lrwxrwxrwx 1 root root 15 May 15 01:20 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 -> libmariadb.so.3
      lrwxrwxrwx 1 root root 15 May 15 01:20 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.19 -> libmariadb.so.3
      lrwxrwxrwx 1 root root 15 May 15 01:20 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 -> libmariadb.so.3
      

      This pose problem for softwares that build against

      Furthermore, with your changes in MariaDB 10.2 client library (you have added your own mariadb_version.h header file), there are now several FTBFS issues with historical projects such as PHP that expect the mysql_version.h header file included in to the mysql.h header file.

      See also: https://i-mscp.net/index.php/Thread/17316-MariaDB-10-2-and-PhpSwitcher-3-0-6-Error-with-needed-Packages

      Thank you.

      Attachments

        Activity

          People

            illuusio Tuukka Pasanen
            nuxwin Laurent Declercq
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.