Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Collectd 5.3.1 DNS plugin does not build on RHEL5 #373
When trying to build collectd 5.3.1 on RHEL 5.9, I receive the following error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPREFIX="/usr" -DCONFIGFILE="/etc/collectd.conf" -DLOCALSTATEDIR="/var" -DPKGLOCALSTATEDIR="/var/lib/collectd" -DPIDFILE="/var/run/collectd.pid" -DPLUGINDIR="/usr/lib64/collectd" -DPKGDATADIR="/usr/share/collectd" -Wall -Werror -O2 -g -m64 -mtune=generic "-DLT_LAZY_OR_NOW=RTLD_LAZY|RTLD_GLOBAL" -MT dns.lo -MD -MP -MF .deps/dns.Tpo -c dns.c -fPIC -DPIC -o .libs/dns.o
On this same machine, I managed to build 5.3.0 just fine. Could it be caused by b8f9530 ?
So from what I understand, b8f9530 fixes a bug (#308) in error handling with recent versions of libpcap, by using features only available in version >= 1.0.0 (version 1.0.0 has been released almost 5 years ago).
So without going out of the way to support each and every libpcap API version, it boils down to having to choose between supporting the newest libpcap versions, or the older ones.
Unless someone comes forward with such a patch, I'd vote for officially dropping support for older libpcap versions.