Hello, configure script can't find mariadb library in case when used Mariadb 10.2. It works fine with Mariadb 10.1. configure: error: Not found mariadb library ===> Script "configure" failed unexpectedly. Please report the problem to pg@pakhom.spb.ru [maintainer] and attach the "/usr/ports/net-mgmt/zabbix34-server/work/zabbix-3.4.6/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Workaround: install Mariadb 10.1, build zabbix34-server, upgrade Mariadb from 10.1 to 10.2. P.S: zabbix34-server works fine with Mariadb 10.2 installed.
Created attachment 191046 [details] zabbix patch for 3.4.7 I've created a patch based on this link https://support.zabbix.com/browse/ZBX-12232
Unfortunatelly it doesn't work. ===> Extracting for zabbix34-server-3.4.7_1 => SHA256 Checksum OK for zabbix-3.4.7.tar.gz. ===> Patching for zabbix34-server-3.4.7_1 ===> Applying FreeBSD patches for zabbix34-server-3.4.7_1 1 out of 1 hunks failed--saving rejects to m4/ax_lib_mysql.m4.rej => FreeBSD patch patch-m4_ax__lib__mysql.m4 failed to apply cleanly. *** Error code 1
I just tried this patch again with zabbix 3.4.8. I can't apply the patch file patch-m4-ax__lib__mysql.m4, I think, due to some extra spaces/newlines. But it successfully built when I manually applied the patch.
Created attachment 192985 [details] patch zabbix34-server 3.4.8
Assign to maintainer.
Commited changes fixed the problem. We can close this issue. Thank you.