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

Extra shared libs (dialog.so and mysql_clear_password.so) should be in same directory as libmysqlclient.so

Details

    Description

      Current MariaDB libmysqlclient/libmariadbclient package has the files:

      usr/lib/*/libmariadbclient.so.*
      usr/lib/mysql/plugin/dialog.so
      usr/lib/mysql/plugin/mysql_clear_password.so

      According to Debian policy, in a package like this all of these files should be in /usr/*/.., for example like this:

      usr/lib/x86_64-linux-gnu/libmariadbclient.so
      usr/lib/x86_64-linux-gnu/dialog.so
      usr/lib/x86_64-linux-gnu/mysql_clear_password.so

      How does dialog.so and mysql_clear_password.so work, can they safely be moved like this to another location, or will it break their refrencing or something?

      Please advice on how to fix this. A patch would be even better.

      Debian bug with https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739452 against mariadb-5.5 (Severity: important).

      Attachments

        Issue Links

          Activity

            otto Otto Kekäläinen added a comment - See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842454#24

            The issue MDEV-7664 must be fixed first, and once libmariadb.so.3 installs in a multi-arch directory in upstream (as it does in Debian.org already) then we can look at fixing the client plugins (in the same way as done in Debian.org already).

            otto Otto Kekäläinen added a comment - The issue MDEV-7664 must be fixed first, and once libmariadb.so.3 installs in a multi-arch directory in upstream (as it does in Debian.org already) then we can look at fixing the client plugins (in the same way as done in Debian.org already).
            danblack Daniel Black added a comment - Plugin paths probably fixed by: https://github.com/MariaDB/mariadb-connector-c/commit/c1a5ed4d13c7bbe9eda6465ecc8dec9324e836a0#diff-87364c4677e09f50088671831b8ad597R93

            This can would be solved via https://jira.mariadb.org/browse/CONC-456

            otto Otto Kekäläinen added a comment - This can would be solved via https://jira.mariadb.org/browse/CONC-456
            otto Otto Kekäläinen added a comment - This was closed via https://github.com/MariaDB/server/commit/87a7968c23d32880920d129c0e3f467495dce10d and https://github.com/MariaDB/server/commit/4bc31a904f22290801075deed949733ba2133974

            People

              otto Otto Kekäläinen
              otto Otto Kekäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.