Cannot load perl plugin

Bug #610971 reported by sixstone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
collectd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: collectd

Collectd refuses to load perl plugin in Ubuntu Server Lucid 10.04. Version: 4.8.2-1

Steps to reproduce:

1) Enable perl plugin by editing /etc/collectd/collectd.conf
LoadPlugin perl
2) Restart collectd using /etc/init.d/collectd restart
Can't load '/usr/lib/perl5/auto/threads/threads.so' for module threads: /usr/lib/perl5/auto/threads/threads.so: undefined symbol: PL_no_mem at /usr/lib/perl/5.10/XSLoader.pm line 70.
 at /usr/lib/perl5/threads.pm line 32
Compilation failed in require at /usr/share/perl5/Collectd.pm line 27.
BEGIN failed--compilation aborted at /usr/share/perl5/Collectd.pm line 27.
Compilation failed in require.
BEGIN failed--compilation aborted.

There is a known issue explained in [1] how to fix it.

I workaround it by exporting LD_PRELOAD environment variable to collectd binary as follows:

LD_PRELOAD=/usr/lib/libperl.so.5.10 collectd -C /etc/collectd/collectd.conf

Best regards,

[1] http://mailman.verplant.org/pipermail/collectd/2008-March/001616.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.