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

AUTH plugins cannot be built statically as documented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.7
    • Fix Version/s: 3.1.8
    • Labels:
      None
    • Environment:
      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

            Assignee:
            georg Georg Richter
            Reporter:
            jeroenooms Jeroen Ooms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: