[rrd-users] RRDTool 1.4.5 / RRDs.pm
rrd at elyograg.org
Tue Aug 16 22:48:47 CEST 2011
On 6/2/2011 5:13 AM, bigjob at bluewin.ch wrote:
> I try to compile rrdtool 1.4.5 ( current perl 5-12-3) under solaris 10
> - after the compilation , all thePerl Modules exist but when I try to
> use theRRDs.pm I’ll get the following error
> perl -e 'use RRDs; print "$RRDs::VERSION;\n"'
> Can't load ‘path_to/RRDs.so' for module RRDs: ld.so.1: perl: fatal:
> relocation error: file path_to /RRDs.so: symbol g_thread_init:
> referenced symbol not found at path_to /DynaLoader.pm line 200.
It's been my experience with Perl on Solaris that the default perl
command refers to the perl that's built into Solaris, found in
/usr/bin/perl. I've been told that this perl installation doesn't work
with external modules. We've had to install another version of perl,
typically /usr/local/bin/perl, which has full access to modules from
CPAN and those installed manually.
This may not be the answer to your riddle, since the error is talking
about the RRDs.so file. It might be that you don't have the rrdtool
binary library installed for the Perl module to find.
I hope this is helpful.
More information about the rrd-users