For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prerequisites For Building Connector/C From Source

Building MariaDB Connector/C from source requires CMake, a C compiler, and TLS/SSL libraries. Windows needs Visual Studio; Linux and macOS need gcc with optional Curl or Kerberos.

Windows

  • Visual Studio 2013 or newer (older versions of Visual Studio may also work but have not been tested).

  • cmake 3.12.0 or newer, available from the CMake website.

  • for Connector/C 2.x: OpenSSL libraries and include files.

  • for Connector/C 3.0 remote-io plugin: Curl libraries and include files

Linux / Mac OS X

The following is a list of tools that are required for building MariaDB Connector/C on Linux and Mac OS X. Most, if not all, of these will exist as packages in your distribution's package repositories, so check there first.

  • gcc 3.4.6 or newer C compiler

  • TLS/SSL libraries and include files

    • OpenSSL 1.0.1 or newer or

    • GnuTLS 3.4.2 or newer

  • cmake 3.12.0 or newer, available from the CMake website.

  • for Connector/C 3.0 remote-io plugin: Curl libraries and include files

  • For GSSAPI plugin: Kerberos V5 libraries

On Linux you can get those programs with your package manager. On Mac OS X you will need Xcode and to install the remaining programs with Fink or MacPorts.

This page is: Copyright © 2026 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?