If Zabbix sources compiled with --with-unixodbc flag, there is added dependency from libodbc.so to zabbix_get, zabbix_agentd applications:
./configure --enable-agent --with-unixodbc --enable-server --with-mysql [root@localhost 3.0.2]# ldd ./src/zabbix_get/zabbix_get linux-vdso.so.1 => (0x00007ffdfcb44000) libodbc.so.2 => /lib64/libodbc.so.2 (0x00007f76b36e3000) libm.so.6 => /lib64/libm.so.6 (0x00007f76b33e1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f76b31dc000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f76b2fc2000) libc.so.6 => /lib64/libc.so.6 (0x00007f76b2c01000) libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f76b29f6000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f76b27da000) /lib64/ld-linux-x86-64.so.2 (0x00007f76b3955000) [root@localhost 3.0.2]# ldd ./src/zabbix_agent/zabbix_agentd linux-vdso.so.1 => (0x00007ffd949dc000) libodbc.so.2 => /lib64/libodbc.so.2 (0x00007fbce3c9a000) libm.so.6 => /lib64/libm.so.6 (0x00007fbce3998000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fbce3793000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbce3579000) libc.so.6 => /lib64/libc.so.6 (0x00007fbce31b8000) libltdl.so.7 => /lib64/libltdl.so.7 (0x00007fbce2fad000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbce2d91000) /lib64/ld-linux-x86-64.so.2 (0x00007fbce3f0c000) [root@localhost 3.0.2]# ldd ./src/zabbix_sender/zabbix_sender linux-vdso.so.1 => (0x00007ffe67d2c000) libodbc.so.2 => /lib64/libodbc.so.2 (0x00007f9526040000) libm.so.6 => /lib64/libm.so.6 (0x00007f9525d3e000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f9525b39000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f952591f000) libc.so.6 => /lib64/libc.so.6 (0x00007f952555e000) libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f9525353000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9525137000) /lib64/ld-linux-x86-64.so.2 (0x00007f95262b2000)
- is duplicated by
-
ZBX-10826 zabbix-agent RedHat RPM incorrect UnixODBC dependency
- Closed