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

odbc does not build on centos 7 out of the box

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 2.0.17, 3.0.5
    • Component/s: General
    • Labels:
      None

      Description

      After install MariaDB 10.2 (after installing the custom repo), the following satisfy the cmake dependencies:
      yum install MariaDB-client MariaDB-server MariaDB-devel unixODBC

      However link failures happen if you run cmake then make. For this to build the following is needed:

      • cmake -DWITH_OPENSSL=on
      • modify tests/CMakeLists.txt to add z as a lib dep: SET(PLATFORM_DEPENDENCIES $ {PLATFORM_DEPENDENCIES}

        "pthread" "dl" "z")

      I'd suggest make WITH_OPENSSL=on the default setting since this is what we build with and fix the test cmake file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Lawrin Lawrin Novitsky
                Reporter:
                dthompson David Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: