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

Failure to correctly create library links for libmysql_r

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.17
    • Fix Version/s: 10.1
    • Component/s: Packaging
    • Labels:
    • Environment:
      Linux

      Description

      libmysqlclient_r.* is a bunch of symlinks. However, the symlinks are not properly created, as they point to the runtime linking library instead of the long term linked library. libmysqlclient is correct symlinked.

      libmysqlclient (correct):

      lrwxrwxrwx. 1 root root       20 Mar 24 15:16 libmysqlclient.so -> libmysqlclient.so.18
      lrwxrwxrwx. 1 root root       24 Mar 24 15:16 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
      -rwxr-xr-x. 1 root root  6276978 Mar 24 15:14 libmysqlclient.so.18.0.0


      libmysqlclient_r (incorrect):

      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so -> libmysqlclient.so
      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so.18 -> libmysqlclient.so
      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so.18.0.0 -> libmysqlclient.so


      The correct linking for libmysqlclient_r would be something like:

      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so -> libmysqlclient.so
      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so.18 -> libmysqlclient.so.18
      lrwxrwxrwx. 1 root root       17 Mar 24 15:16 libmysqlclient_r.so.18.0.0 -> libmysqlclient.so.18.0.0


      Fixing this allows for proper creation of dev packages for rpm/deb

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            quanah Quanah Gibson-Mount
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

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