[collectd] Perl/Threaded symbol issue

Paul Freeman paul at noc4.net
Fri Jun 11 17:34:46 CEST 2010


Hi,
 I seem to be having a symbol issue when loading the OpenVZ (or other)
module into the perl plugin: 

Jun 11 16:04:37 10.0.2.2 collectd[13571]: perl: Initializing Perl
interpreter...
Jun 11 16:04:37 10.0.2.2 collectd[13571]: perl: init_pi: Unable to
bootstrap Collectd: Can't load
'/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/threads/threads.so'
for module threads:
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/threads/threads.so:
undefined symbol: PL_no_mem at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
Jun 11 16:04:37 10.0.2.2 at: /usr/lib64/perl5/site_perl/5.8.8/Collectd.pm
line 27
Jun 11 16:04:37 10.0.2.2 Compilation: failed in require at
/usr/lib64/perl5/site_perl/5.8.8/Collectd.pm line 27.
Jun 11 16:04:37 10.0.2.2 BEGIN: failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.8/Collectd.pm line 27.
Jun 11 16:04:37 10.0.2.2 Compilation: failed in require.
Jun 11 16:04:37 10.0.2.2 BEGIN: failed--compilation aborted
Jun 11 16:04:37 10.0.2.2 collectd[13571]: perl: Configuration failed with
a fatal error - plugin disabled!

I have tried using LD_PRELOAD= and also rebuilding collectd with
-DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'
as mentioned at
http://mailman.verplant.org/pipermail/collectd/2008-March/001616.html
without any luck!

anyone have any ideas ?


 Paul 



More information about the collectd mailing list