[collectd] collectd-5.5.0 symbol lookup error: interface.so: undefined symbol: ignorelist_create

Giovanni Torres giovanni.torres at gmail.com
Fri Dec 4 04:00:39 CET 2015


On Thu, Dec 3, 2015 at 8:38 PM Giovanni Torres <giovanni.torres at gmail.com>
wrote:

> On Tue, Dec 1, 2015 at 2:26 PM <Matt.Garrett at shell.com> wrote:
>
>> Folks
>>
>>
>>
>> OS is RedHat 5.10 been using collectd 4.10.9 without any issues
>>
>> Looking at collectd-5.5.0 , seems to compile fine but on running I get
>> error’s around the Network plugins
>>
>>
>>
>> i.e
>>
>> collectd: symbol lookup error: /opt/collectd/lib/collectd/interface.so:
>> undefined symbol: ignorelist_create
>>
>>
>>
>> If I remove Plugin Interface and Plugin Network then all is fine (of
>> course no data is going anywhere so not very usfull)
>>
>>
>>
>> Any idea’s
>>
>>
>>
>> Matt
>>
>>
>>
>> FYI on RedHat 6.6 collectd-5.5.0 seems to work fine , however upgrade
>> plans for the servers is +- 6 months
>>
>
> Looks like this comes from utils_ignorelist.{h,c} and used for ignoring
> interfaces and such.
>
> How are you compiling 5.5.0 on RHEL 5?
>
> Giovanni
>

I compiled 5.5.0 on CentOS 5.11, which should be close enough to RedHat
5.10.

I did a basic compile (./configure --prefix=/usr/local/collectd-5.5.0) and
I don't get that missing symbol:

 [root at centos5 collectd]# readelf -s interface.so | grep ignorelist
 53: 0000000000201e08 8 OBJECT LOCAL DEFAULT 23
 ignorelist 54: 0000000000000000 0 FILE LOCAL DEFAULT ABS utils_ignorelist.c
 59: 0000000000001300 39 FUNC LOCAL DEFAULT 10 ignorelist_create
 60: 0000000000001330 100 FUNC LOCAL DEFAULT 10 ignorelist_free
 63: 0000000000001220 16 FUNC LOCAL DEFAULT 10 ignorelist_set_invert
 66: 0000000000001230 204 FUNC LOCAL DEFAULT 10 ignorelist_match
 68: 00000000000013a0 676 FUNC LOCAL DEFAULT 10 ignorelist_add

In fact, you can see the libtool object getting created:
# make
...
 CC interface_la-interface.lo
 CC interface_la-utils_ignorelist.lo
 CCLD interface.la
...

I think your error may be a missing dependency or the configure options
that you are using to build it, but 5.5.0 should be OK on RHEL 5 as far as
I can tell.

Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20151204/b4794c63/attachment.html>


More information about the collectd mailing list