Build fails with mariadb on Debian
Closed this issue · 2 comments
Kazmirchuk commented
The Makefile doesn't work when I need to link against mariadb on Debian 12 (probably applies to Ubuntu as well)
E.g. take this base image, then
apt update && apt install -y --no-install-recommends libmariadb-dev gcc make
The Makefile needs the following adjustments to work:
- Use mariadb_config instead of mysql_config
- findstring mariadb (no "client")
- MYSQL_LIB = mariadb
- _MYSQL_LIBNAME="lib$(MYSQL_LIB)$(DLSUFFIX).3" (note the .3 in the end)
surajkharage19 commented
Hi @Kazmirchuk,
Officially, we do not support Mariadb for mysql_fdw. If these changes are working at your end then you can commit locally and continue using the same. Alternatively, we are planning to release Debian 12 packages for both PG and EPAS, so if that fits for you then you can start using the same once released.
Kazmirchuk commented
thanks for clarifying. Prebuilt packages for Debian will be appreciated.