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

Failure to correctly create library links for libmysql_r

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.0.17
    • N/A
    • Packaging
    • 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

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              quanah Quanah Gibson-Mount (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.