Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4091

agent, get & sender links against unneeded libraries

    Details

      Description

      1. if libcurl development headers are present on the system, libcurl is compiled in zabbix_agent, agentd, get & sender. that, of course, created useless dependencies and increases binary size.

      brought in by libcurl just being present :

      libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb77bb000)
      libidn.so.11 => /usr/lib/libidn.so.11 (0xb75d2000)
      libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb758a000)
      libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7553000)
      libssl.so.1.0.0 => /lib/libssl.so.1.0.0 (0xb74fc000)
      libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0 (0xb735b000)
      libz.so.1 => /lib/libz.so.1 (0xb7347000)
      libssh2.so.1 => /usr/lib/libssh2.so.1 (0xb7320000)
      liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb72f5000)
      libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb72da000)
      libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7211000)
      libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb71e9000)
      libcom_err.so.2 => /lib/libcom_err.so.2 (0xb71e4000)
      libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb71db000)
      libdl.so.2 => /lib/libdl.so.2 (0xb71d6000)
      libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb71d1000)

      totalling 16 libs and ~ 62KB increase in agentd binary, for example

      2. there apparently is also some way to link sqlite3 into all these binaries, as has happened with zabbix opensuse package at http://software.opensuse.org/search/download?base=openSUSE%3A11.4&file=server%3A%2Fmonitoring%2FopenSUSE_11.4%2Fi586%2Fzabbix-agent-1.8.5-1.1.i586.rpm&query=zabbix

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              richlv richlv
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: