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

libmyodbc relocation error with MariaDB on CentOS 6

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.0.1, 5.5.30
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      CentOS release 6.4
      MariaDB-compat-5.5.30-1.x86_64
      mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
      unixODBC-2.2.14-12.el6_3.x86_64

      Description

      Steps to repeat:

      isql [dsn] [user] [password]
      isql: relocation error: /usr/lib64/libmyodbc5.so: symbol strmov, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference
      

      This clearly relates to MDEV-4020. However, that was marked fixed for 5.5.29 and this problem affecting CentOS 6 still exists in 5.5.30.

      I've also tested 10.0.1 and the same issue occurs there.

      A patch has been posted here which also seems to be related.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            latitude37s Simon Graham added a comment - - edited

            $ rpm -qa | grep -iE 'mariadb|odbc'
            mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
            MariaDB-shared-5.5.30-1.x86_64
            MariaDB-common-5.5.30-1.x86_64
            MariaDB-server-5.5.30-1.x86_64
            MariaDB-devel-5.5.30-1.x86_64
            unixODBC-devel-2.2.14-12.el6_3.x86_64
            MariaDB-client-5.5.30-1.x86_64
            MariaDB-compat-5.5.30-1.x86_64
            unixODBC-2.2.14-12.el6_3.x86_64

            Show
            latitude37s Simon Graham added a comment - - edited $ rpm -qa | grep -iE 'mariadb|odbc' mysql-connector-odbc-5.1.5r1144-7.el6.x86_64 MariaDB-shared-5.5.30-1.x86_64 MariaDB-common-5.5.30-1.x86_64 MariaDB-server-5.5.30-1.x86_64 MariaDB-devel-5.5.30-1.x86_64 unixODBC-devel-2.2.14-12.el6_3.x86_64 MariaDB-client-5.5.30-1.x86_64 MariaDB-compat-5.5.30-1.x86_64 unixODBC-2.2.14-12.el6_3.x86_64
            Hide
            wlad Vladislav Vaintroub added a comment -

            Sorry for this hiccup.

            While the bug has been fixed in 5.3 (which is used to create libmysqlclient.so.16), the up-to-date binaries were not used to produce "compat" rpms for 5.5 . Thus MDEV-4020 was not completed fixed, due to missing adjustments in build infrastructure. I reopened it, and it should now be finally completely fixed (I verified the contents of the rpm that buildbot produced)

            Show
            wlad Vladislav Vaintroub added a comment - Sorry for this hiccup. While the bug has been fixed in 5.3 (which is used to create libmysqlclient.so.16), the up-to-date binaries were not used to produce "compat" rpms for 5.5 . Thus MDEV-4020 was not completed fixed, due to missing adjustments in build infrastructure. I reopened it, and it should now be finally completely fixed (I verified the contents of the rpm that buildbot produced)
            Hide
            wlad Vladislav Vaintroub added a comment -

            Duplicate of MDEV-4020

            Show
            wlad Vladislav Vaintroub added a comment - Duplicate of MDEV-4020

              People

              • Assignee:
                Unassigned
                Reporter:
                latitude37s Simon Graham
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: