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

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 2.0.17, 3.0.5
    • General
    • 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

              Lawrin Lawrin Novitsky
              dthompson David Thompson (Inactive)
              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.