This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

where can i download connector c which build with glibc2.11

i download mariadb-connector-c-2.3.0-linux-x86_64.tar.gz, it need glibc2.14, but my os is suse11 sp1 with glibc2.11, so it not work.

Our customer user mysql now, and we have program use mysql connector c。 In the further,our customer will use mariadb。 The os is suse11 sp1,glib version is 2.11。So the download of mariadb connector can't work. Where can I download ?

Answer Answered by Daniel Bartholomew in this comment.

We currently don't build the connector on a machine with glibc2.11 or lower so your only option is to build it yourself.

The commands we use to checkout the source and build the Connector/C Linux tar.gz package on our Linux build machine are:

git clone --depth 1 -b connector_c_2.3 "https://github.com/MariaDB/mariadb-connector-c.git" build
cd build/
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGIT_BUILD_SRCPKG=1
cmake --build . --config RelWithDebInfo --target package
make package
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.