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

AUTH plugins cannot be built statically as documented

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.7
    • 3.1.8
    • None
    • None
    • cmake

    Description

      I maintain the R bindings for mariadb-connector-c. I need to build a version of libmariadbclient for MacOS with only static plugins. This does not work (at least not as documented).

      Accoring to the documentation it should be possible to:

      cmake .. -DCLIENT_PLUGIN_{PLUGIN_NAME}=[STATIC|DYNAMIC|OFF]
      

      However when I try this cmake says the following:

         CMake Warning:
            Manually-specified variables were not used by the project:
       
          CLIENT_PLUGIN_AUTH_GSSAPI
      

      And it still builds the following plugins as shared libraries:

      auth_gssapi_client.so		client_ed25519.so		remote_io.so
      caching_sha2_password.so	mysql_clear_password.so
      

      I also noticed that the documentation says that the CMAKE parameter AUTH_GSSAPI_PLUGIN_TYPE was recently renamed to CLIENT_PLUGIN_AUTH_GSSAPI, however the top level CMakeLists.txt still contains some reference to AUTH_GSSAPI_PLUGIN_TYPE, so perhaps that is the problem?

      Attachments

        Activity

          People

            georg Georg Richter
            jeroenooms Jeroen Ooms
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.