[collectd] perl collectd plugin "Global symbol "%Config" requires explicit package name"

Tom H tom at limepepper.co.uk
Wed Mar 4 06:08:19 CET 2009


Hi,

If I try to enable the example plugin "MyPlugin" in
the /usr/share/doc/perl-Collectd-4.5.1/ folder, or use the example in
the docs, I get the following error when trying to restart collectd;

[root at localhost perl-Collectd-4.5.1]# service collectd restart
Stopping collectd:                                         [  OK  ]
Starting collectd: Global symbol "%Config" requires explicit package
name at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm line
11.
Global symbol "%Config" requires explicit package name
at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm line 11.
Global symbol "%Config" requires explicit package name
at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm line 13.
Global symbol "%Config" requires explicit package name
at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm line 13.
BEGIN not safe after errors--compilation aborted
at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm line 192.
Compilation failed in require at /usr/lib/perl5/5.10.0/English.pm line
187.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.10.0/English.pm
line 187.
Compilation failed in require
at /usr/lib/perl5/vendor_perl/5.10.0/Config/General.pm line 17.
BEGIN failed--compilation aborted
at /usr/lib/perl5/vendor_perl/5.10.0/Config/General.pm line 17.
Compilation failed in require
at /usr/share/doc/perl-Collectd-4.5.1/Config.pm line 29.
BEGIN failed--compilation aborted
at /usr/share/doc/perl-Collectd-4.5.1/Config.pm line 29.
Compilation failed in require
at /usr/lib/perl5/vendor_perl/5.10.0/Collectd.pm line 25.
BEGIN failed--compilation aborted
at /usr/lib/perl5/vendor_perl/5.10.0/Collectd.pm line 25.
Compilation failed in require.
BEGIN failed--compilation aborted.


any ideas, 

Thanks,

Tom




More information about the collectd mailing list