-
Problem report
-
Resolution: Fixed
-
Blocker
-
6.0.0beta3, 6.0 (plan)
-
None
-
Sprint 84 (Jan 2022)
-
0.125
Agent 2 compilation is broken on macOS since ZBX-7933 was implemented:
Making all in go # zabbix.com/pkg/zbxlib Undefined symbols for architecture x86_64: "_CONFIG_TCP_MAX_BACKLOG_SIZE", referenced from: _zbx_tcp_listen in libzbxcomms.a(comms.o) ld: symbol(s) not found for architecture x86_64
Other compilation problems are caused by ZBXNEXT-6958 implementation.
# zabbix.com/cmd/zabbix_agent2 cmd/zabbix_agent2/external.go:63:19: undefined: getListener cmd/zabbix_agent2/external.go:86:5: undefined: listenOnPluginFail cmd/zabbix_agent2/zabbix_agent2.go:353:8: undefined: cleanUpExternal cmd/zabbix_agent2/zabbix_agent2.go:407:3: undefined: cleanUpExternal cmd/zabbix_agent2/zabbix_agent2.go:614:3: undefined: cleanUpExternal cmd/zabbix_agent2/zabbix_agent2_nix.go:51:13: undefined: checkExternalExits make[2]: *** [zabbix.com/cmd/zabbix_agent2] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Also PCRE2 support should be added (same as ZBX-20436 and ZBX-20444).
There possibly could be other issues preventing successful compilation.
- caused by
-
ZBXNEXT-4922 Consider to move to pcre2 or provide option to build zabbix binaries using pcre2
- Closed
-
ZBXNEXT-6958 Support of loading of Agent2 plugins at startup
- Closed
-
ZBX-7933 zabbix generate TCP queue overflow
- Closed
- is duplicated by
-
ZBX-20140 macOS zabbix_agent2 build is broken
- Closed