<div>Things will break if you use a different compiler to build Perl and rrdtool. `perl -V` will show which compiler you built perl with. Make sure you use the same compiler and toolchain to build rrdtool.</div><div><br></div>
<div>Tip: ./configure rrdtool to either install into your site_perl or you'll probably have to include the custom rrdtool perl paths later (e.g. with `perl -I/path/to/custom/libdir ...` or 'use lib qw[/path/to/custom/libdir]; use RRDs;'.</div>
<div><br></div><div>This command will show where RRDs.pm was found (to ensure you're loading your RRDs.pm instead of a system one.</div><div>perl -MRRDs -le 'print $INC{"RRDs.pm"}'</div><div><br></div>
<div>Good luck,</div><div>Joshua<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 4:13 AM, <a href="mailto:bigjob@bluewin.ch">bigjob@bluewin.ch</a> <span dir="ltr"><<a href="mailto:bigjob@bluewin.ch">bigjob@bluewin.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div>
-->
<div>
<p> </p>
<p> </p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">@ all</font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">I try to compile rrdtool 1.4.5 <span> </span>( current perl 5-12-3) under solaris 10 - after the compilation , all the<span> </span>Perl Modules exist but when I try to use the<span> </span>RRDs.pm I’ll get the following error</font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font size="2"><font face="TheSans Swisscom Light">perl -e 'use RRDs; print "$RRDs::VERSION;\n"'<u></u><u></u><u></u></font></font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">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.</font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">Thanks for a response</font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">BR/</font></span></p>
<p style="margin:0cm 0cm 6pt"><span lang="EN-GB"><font face="TheSans Swisscom Light" size="2">Mike</font></span></p>
<p> </p></div></div></div><br>_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
<br></blockquote></div><br></div>