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

Does not build on any platform other than i386/amd64

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.4
    • N/A
    • General
    • None
    • Debian Linux

    Description

      I recently packaged MariaDB Connector/ODBC for Debian, see https://tracker.debian.org/pkg/mariadb-connector-odbc . After uploading it turned out that it fails to build on any platform that is not amd64 (x86_64) or i386.

      https://buildd.debian.org/status/package.php?p=mariadb-connector-odbc

      It fails to build on any other platform with

      -- Looking for floor
      -- Looking for floor - not found
      -- Looking for floor in m
      -- Looking for floor in m - found
      -- odbc_config is not found 
      -- Found ODBC Driver Manager includes: /usr/include
      CMake Error at CMakeLists.txt:237 (MESSAGE):
        Driver Manager was not found
      

      There is a lot of debug output from CMake after that, but I think those all come from the libm tests that passed before. Looking at cmake/FindDM.cmake I think it can work on any other platform right now, because it i.e. hardcodes the library path to x86_64-linux-gnu on all 64bit platforms.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            berni@debian.org Bernhard Schmidt
            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.