[ZBX-10826] zabbix-agent RedHat RPM incorrect UnixODBC dependency Created: 2016 May 19  Updated: 2017 May 30  Resolved: 2016 May 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.0.2
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Gabriele Armao Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-10760 Dependency from UnixODBC for Zabbix u... Closed

 Description   

When installing "zabbix-agent" rpm packages for RedHat 5,6 and 7 it seems the RPM has a dependency from the UnixODBC rpm and the zabbix_agentd binary is linked to the libodbc2.so library.
I'm not sure why though, afaik ODBC connection should be used only by Proxy and Server, unless I'm missing something:

ldd /usr/sbin/zabbix_agentd
linux-vdso.so.1 => (0x00007ffec63e4000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f8c7cce0000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f8c7c8f8000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f8c7c6a4000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f8c7c495000)
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f8c7c22d000)
libodbc.so.2 => /lib64/libodbc.so.2 (0x00007f8c7bfc4000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8c7bcc2000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8c7babe000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8c7b8a3000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8c7b4e2000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f8c7b296000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f8c7afb0000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f8c7adac000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f8c7ab7a000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8c7a963000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f8c7a746000)
libssl3.so => /lib64/libssl3.so (0x00007f8c7a504000)
libsmime3.so => /lib64/libsmime3.so (0x00007f8c7a2dc000)
libnss3.so => /lib64/libnss3.so (0x00007f8c79fb6000)
libnssutil3.so => /lib64/libnssutil3.so (0x00007f8c79d8a000)
libplds4.so => /lib64/libplds4.so (0x00007f8c79b85000)
libplc4.so => /lib64/libplc4.so (0x00007f8c79980000)
libnspr4.so => /lib64/libnspr4.so (0x00007f8c79742000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8c79525000)
libidn.so.11 => /lib64/libidn.so.11 (0x00007f8c792f2000)
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f8c790c8000)
libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f8c78ebd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8c7cf58000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f8c78cae000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8c78aa9000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f8c78872000)
librt.so.1 => /lib64/librt.so.1 (0x00007f8c78669000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8c78444000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f8c78240000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8c77fdf000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f8c77dba000)



 Comments   
Comment by Glebs Ivanovskis (Inactive) [ 2016 May 19 ]

You are absolutely right, there was a mistake in configure script. Already known and fixed, unfortunately fix didn't make it's way into 3.0.3.

Closing as duplicate of ZBX-10760.

Comment by Ross Peoples [ 2016 Jun 20 ]

Any idea when 3.0.4 is coming out for the agents with this fix? I've had to cancel my Zabbix 3.0 upgrade because of this.

Generated at Sat Apr 05 00:51:37 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.