cannot build Zabbix with MariaDB 10.3

Miroslav Lachman 000.fbsd at quip.cz
Fri Feb 8 20:54:06 UTC 2019


I am trying to build Zabbix 4 and Zabbix 3.4 in poudriere on FreeBSD 
11.2 with MariaDB 10.3. Both versions (4.0 and 3.4) failed with the same 
error:

checking for architecture... freebsd (freebsd11.2)
checking size of void *... 8
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmariadb... no
configure: error: Not found mariadb library
===>  Script "configure" failed unexpectedly.


This is make.conf for Poudriere

OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS HAL

DEFAULT_VERSIONS=apache=2.4 perl5=5.28 mysql=10.3m php=7.1 python=2.7 
python3=3.6 pgsql=9.6 ssl=openssl bdb=5


And Zabbix options

---Begin OPTIONS List---
===> The following configuration options are available for 
zabbix34-server-3.4.15:
      CURL=on: Support for web monitoring
      FPING=on: Build/install fping for ping checks
      IPMI=on: Support for IPMI checks
      IPV6=on: IPv6 protocol support
      JABBER=off: Support for Jabber media type
      LDAP=off: Support for LDAP server checks
      LIBXML2=off: Support for libxml2 (required by monitoring VMware)
      NMAP=on: Build/install nmap for o/s detection
      SSH=on: Support for SSH-based checks
====> Options available for the single DB: you have to select exactly 
one of them
      MYSQL=on: MySQL database support
      PGSQL=off: PostgreSQL database support
      SQLITE=off: SQLite database support
      ORACLE=off: Oracle database support
====> Support for database checks via ODBC: you have to select exactly 
one of them
      IODBC=off: ODBC backend via iODBC
      UNIXODBC=on: ODBC backend via unixODBC
====> SSL protocol support: you have to select exactly one of them
      OPENSSL=on: SSL/TLS support via OpenSSL
      GNUTLS=off: SSL/TLS support via GnuTLS
===> Use 'make config' to modify these settings
---End OPTIONS List---


I found similar reports on the net but they were for older versions, 
marked as fixed more then year ago.

I am using / building Zabbix with the same setting with MariaDB 10.1 
without problem.

Can anybody help to debug and fix this issue?

Kind regards
Miroslav Lachman


More information about the freebsd-ports mailing list