Public bug reported:

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

** Affects: collectd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cannot load perl plugin
https://bugs.launchpad.net/bugs/610971
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to