Hello,
for my environment I need to compile zabbix-agent2 7.0.3 and then distribute the binary among different servers
Even though I'm telling the compiler to statically link binaries and libraries I get this error when running zabbix-agent2
this is how I'm compiling the src
I'm trying on debian12 amd64 right now..
Am I missing something?
for my environment I need to compile zabbix-agent2 7.0.3 and then distribute the binary among different servers
Even though I'm telling the compiler to statically link binaries and libraries I get this error when running zabbix-agent2
Code:
/opt/zabbix_agent/sbin/zabbix_agent2: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
Code:
sh ./configure --enable-agent2 --enable-ipv6 --enable-static --enable-static-libs --prefix=/opt/zabbix-compiled --exec-prefix=/opt/zabbix-compiled make install
I'm trying on debian12 amd64 right now..
Am I missing something?
Comment