-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 80 (Sep 2021), Sprint 81 (Oct 2021)
-
0.5
When --with-curl option is used during ./configure stage, agent2 binary gets linked to linked despite having no need for it.
./configure --prefix=$PWD --enable-agent2 ... ldd ./sbin/zabbix_agent2 linux-vdso.so.1 (0x00007ffe65587000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7d6f2d3000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f7d6f2b7000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f7d6f244000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7d6f221000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7d6f02f000) /lib64/ld-linux-x86-64.so.2 (0x00007f7d6f2e5000) ./configure --prefix=$PWD --enable-agent2 --with-libcurl ... ldd ./sbin/zabbix_agent2 linux-vdso.so.1 (0x00007ffe6ac4f000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5d5ebd0000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f5d5ebb4000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5d5eb41000) libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f5d5eab2000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5d5ea8f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5d5e89d000) /lib64/ld-linux-x86-64.so.2 (0x00007f5d5ebe2000) libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f5d5e872000) libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f5d5e851000) librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f5d5e831000) libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f5d5e7c3000) libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f5d5e7b0000) libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007f5d5e776000) libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f5d5e59e000) libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f5d5e551000) libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f5d5e4fb000) liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f5d5e4ea000) libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f5d5e4dc000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5d5e4c0000) libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f5d5e33c000) libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007f5d5e305000) libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f5d5e281000) libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f5d5dfab000) libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f5d5de75000) libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f5d5de5d000) libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f5d5dd80000) libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f5d5dd4f000) libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f5d5dd48000) libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f5d5dd39000) libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f5d5dd1c000) libgssapi.so.3 => /lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f5d5dcd7000) libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f5d5dcb2000) libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f5d5dca6000) libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f5d5dc9f000) libheimntlm.so.0 => /lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f5d5dc93000) libkrb5.so.26 => /lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f5d5dc00000) libasn1.so.8 => /lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f5d5db57000) libhcrypto.so.4 => /lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f5d5db1f000) libroken.so.18 => /lib/x86_64-linux-gnu/libroken.so.18 (0x00007f5d5db06000) libwind.so.0 => /lib/x86_64-linux-gnu/libwind.so.0 (0x00007f5d5dadc000) libheimbase.so.1 => /lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f5d5daca000) libhx509.so.5 => /lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f5d5da7c000) libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f5d5d951000) libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f5d5d916000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5d5d7c7000)
This is true since 5.0.0alpha1