Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-346

MacOS ODBC connector package is missing Connector/C runtime library.

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 3.1.15
    • 3.1.16
    • General
    • None
    • MacBook Air (Retina, 13-inch, 2020)
      macOS 11.6 (20G165)

    Description

      This appears to be related to incomplete task ODBC-201

      I've attempted an installation with the package downloaded from https://dlm.mariadb.com/1936452/connectors/odbc/connector-odbc-3.1.15/mariadb-connector-odbc-3.1.15-osx-x86_64.pkg

      It appears the libmariadb dependency is missing. This according to tool:

      	@rpath/libmariadb.3.dylib (compatibility version 3.0.0, current version 3.0.0)
      

      The message as relayed by Excel is:

      [iODBC][Driver Manager]dlopen(/Library/MariaDB/MariaDB-Connector-ODBC/libmaodbc.dylib, 6): Library not loaded: @rpath/libmariadb.3.dylib
      Referenced from: /Library/MariaDB/MariaDB-Connector-ODBC/libmaodbc.dylib
      Reason: image not found
      

      I thought it must be a path problem. I can't find that file on my disk. I expanded the .pkg file and its Payload. That file is not in this package.

      The release notes say Connector/ODBC is "based on Connector/C"; not that it depends on it. Still, I attempted to download the Connector/C for macOS, in case I was supposed to get it separately. A package for macOS doesn't exist.

      I am still digging into this issue on my setup. However, I think this is a bug: the download provided doesn't have any chance of working out of the box.

      Attachments

        Activity

          Sorry for such a long delay with this release. The reason behind it is more like a "force-major", but anyway - sorry. I am planning to finish everything related release build today, so hopefully it will be also published today, or maybe tomorrow.

          Lawrin Lawrin Novitsky added a comment - Sorry for such a long delay with this release. The reason behind it is more like a "force-major", but anyway - sorry. I am planning to finish everything related release build today, so hopefully it will be also published today, or maybe tomorrow.
          berka Berk Akinci added a comment -

          I don't think this is fixed as of 3.1.17.

          I still don't see libmariadb in the package:

          Berks-Air:libmaodbc.pkg berka$ tar -zxvf Payload 
          x .
          x ./Library
          x ./Library/MariaDB
          x ./Library/MariaDB/MariaDB-Connector-ODBC
          x ./Library/MariaDB/MariaDB-Connector-ODBC/libmaodbc.dylib
          x ./Library/MariaDB/MariaDB-Connector-ODBC/bin
          x ./Library/MariaDB/MariaDB-Connector-ODBC/bin/install_driver
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/mysql_clear_password.so
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/caching_sha2_password.so
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/dialog.so
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/client_ed25519.so
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/auth_gssapi_client.so
          x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/sha256_password.so
          

          berka Berk Akinci added a comment - I don't think this is fixed as of 3.1.17. I still don't see libmariadb in the package: Berks-Air:libmaodbc.pkg berka$ tar -zxvf Payload x . x ./Library x ./Library/MariaDB x ./Library/MariaDB/MariaDB-Connector-ODBC x ./Library/MariaDB/MariaDB-Connector-ODBC/libmaodbc.dylib x ./Library/MariaDB/MariaDB-Connector-ODBC/bin x ./Library/MariaDB/MariaDB-Connector-ODBC/bin/install_driver x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/mysql_clear_password.so x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/caching_sha2_password.so x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/dialog.so x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/client_ed25519.so x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/auth_gssapi_client.so x ./Library/MariaDB/MariaDB-Connector-ODBC/plugin/sha256_password.so
          berka Berk Akinci added a comment -

          Also, there is no MacOS versions of C/C++ connector for download on the web site.

          berka Berk Akinci added a comment - Also, there is no MacOS versions of C/C++ connector for download on the web site.

          berka it's linked statically again on MacOS, thus there is no libmariadb library file in the package.

          Lawrin Lawrin Novitsky added a comment - berka it's linked statically again on MacOS, thus there is no libmariadb library file in the package.
          berka Berk Akinci added a comment -

          Sorry about that. Thanks. I was thrown off because the library size is still tiny compared to other platforms.

          berka Berk Akinci added a comment - Sorry about that. Thanks. I was thrown off because the library size is still tiny compared to other platforms.

          People

            Lawrin Lawrin Novitsky
            berka Berk Akinci
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.