Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-55

libmariadb/CMakeFiles.txt generates broken libmysqlclient.a symlink

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Linux

    Description

      When WITH_MYSQLCOMPAT is defined, libmariadb/CMakeLists.txt uses a custom command to generate symlinks with the standard MySQL client filenames to point at the MariaDB client library binaries.

      The command to create the symlink libmysqlclient.a has a bug, however. The first argument to create_symlink should be libmariadbclient${CMAKE_STATIC_LIBRARY_SUFFIX} rather than libmariadb${CMAKE_STATIC_LIBRARY_SUFFIX} since the static archive is libmariadbclient.a.

      As things stand we end up with libmysqlclient.a pointing to the non-existent libmariadb.a.

      Attachments

        Activity

          People

            georg Georg Richter
            dharan Ramesh Dharan (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.