The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RRDs.pm missing

Discussion in 'General Discussion' started by cheapweb, Apr 30, 2003.

  1. cheapweb

    cheapweb Member

    Joined:
    Apr 24, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Hi All,

    I'm trying to install HotSaNIC (http://hotsanic.sourceforge.net). I know rrdtool is installed, but it can't find it...

    My system specs:
    WHM 6.2.0
    Cpanel 6.4.0-S16
    RedHat 8.0

    I get the following errors :

    Can't locate RRDs.pm in @INC (@INC contains: .. /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./read-data.pl line 5.
    BEGIN failed--compilation aborted at ./read-data.pl line 5.


    If I try to hack it and copy RRD?.pm and auto/RRD* where it is expected, I get the following :

    Can't load '/usr/lib/perl5/vendor_perl/auto/RRDs/RRDs.so' for module RRDs: /usr/lib/perl5/vendor_perl/auto/RRDs/RRDs.so: undefined symbol: PL_sv_undef at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
    at ./read-data.pl line 5
    Compilation failed in require at ./read-data.pl line 5.
    BEGIN failed--compilation aborted at ./read-data.pl line 5.


    Has anyone seen this before ?


    FreiZz
     
  2. cheapweb

    cheapweb Member

    Joined:
    Apr 24, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    RRDs.pm solved

    I managed to fix it, using what michealn(thanX!) wrote on another thread.


    do this in a shell should fix it on rh80

    VER=1.0.41
    mkdir /tmp/install
    cd /tmp/install
    wget http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-$VER.tar.gz
    tar -zxvf rrdtool-$VER.tar.gz
    cd rrdtool-$VER
    sh configure
    make
    cd /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/
    cp -f RRDs.so RRDs.so.backup
    cd /install/rrdtool-$VER/perl-shared/blib/arch/auto/RRDs
    cp -f RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/
    cd /usr/local/cpanel/3rdparty/lib/perl/
    cp -f RRDs.pm RRDs.pm.backup
    cd /install/rrdtool-$VER/perl-shared/
    cp -f RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/



    FreiZz
     
Loading...

Share This Page