RRDTool AIX download and install

You might get RRDTool package with its prerequisities either from below links or from STOR2RRD download

You can also download all packages as a tar ball (~100MB):
libjpeg-9a-1.aix5.1.ppc.rpm
expat-2.1.0-1.aix5.1.ppc.rpm
libiconv-1.14-2.aix5.1.ppc.rpm
openssl-1.0.1g-1.aix5.1.ppc.rpm
zlib-1.2.8-1.aix5.1.ppc.rpm
freetype2-2.5.2-1.aix5.1.ppc.rpm
gettext-0.17-1.aix5.1.ppc.rpm
libdatrie-0.2.4-1.aix5.1.ppc.rpm
libthai-0.1.18-1.aix5.1.ppc.rpm
libXrender-0.9.8-1.aix5.1.ppc.rpm : AIX 5.3
libXrender-0.9.8-1.aix6.1.ppc.rpm : AIX 6.1/7.1
fontconfig-2.10.2-1.aix5.1.ppc.rpm
libgcc-4.8.2-1.aix5.3.ppc.rpm : AIX 5.3
libgcc-4.8.2-1.aix6.1.ppc.rpm : AIX 6.1
libgcc-4.8.2-1.aix7.1.ppc.rpm : AIX 7.1
libgcc-4.8.5-1.aix7.2.ppc.rpm : AIX 7.2
libffi-3.0.13-1.aix5.1.ppc.rpm
glib2-2.38.2-1.aix5.1.ppc.rpm
libpng-1.6.9-1.aix5.1.ppc.rpm
libxcb-1.7-1.aix5.1.ppc.rpm
xz-libs-5.0.5-1.aix5.1.ppc.rpm
libxml2-2.9.1-1.aix5.1.ppc.rpm
libcroco-0.6.5-1.aix5.1.ppc.rpm
libart_lgpl-2.3.21-1.aix5.1.ppc.rpm
lzo-2.06-1.aix5.1.ppc.rpm
pixman-0.28.2-1.aix5.1.ppc.rpm
atk-1.32.0-1.aix5.1.ppc.rpm
jasper-1.900.1-2.aix5.1.ppc.rpm
jbigkit-libs-2.0-2.aix5.1.ppc.rpm
jbigkit-2.0-2.aix5.1.ppc.rpm
libtiff-4.0.3-1.aix5.1.ppc.rpm
gtk2-2.20.1-2.aix5.1.ppc.rpm
librsvg2-2.34.2-1.aix5.1.ppc.rpm
cairo-1.12.14-1.aix5.1.ppc.rpm
pango-1.24.5-1.aix5.1.ppc.rpm
gtk2-immodules-2.20.1-2.aix5.1.ppc.rpm
libdbi-0.8.4-1.aix5.1.ppc.rpm
dejavu-sans-mono-fonts-2.34-1.aix5.1.noarch.rpm
dejavu-lgc-sans-mono-fonts-2.34-1.aix5.1.noarch.rpm
rrdtool-1.4.8-2.aix5.1.ppc.rpm
gdbm-1.11-1.aix5.1.ppc.rpm
rrdtool-perl-1.4.8-2.aix5.1.ppc.rpm
perl-5.8.8-2.aix5.1.ppc.rpm
perl-TimeDate-1.20-1.aix5.1.noarch.rpm
perl-XML-Simple-2.18-1.aix5.1.noarch.rpm
perl-XML-Parser-2.41-1.aix5.1.ppc.rpm
perl-URI-1.58-1.aix5.1.noarch.rpm
perl-XML-SAX-0.99-1.aix5.1.noarch.rpm
perl-XML-LibXML-2.0012-1.aix5.1.ppc.rpm
perl-XML-SAX-Base-1.08-1.aix5.1.noarch.rpm
perl-XML-NamespaceSupport-1.11-1.aix5.1.noarch.rpm
perl-IO-Tty-1.07-1.aix5.1.ppc.rpm
perl-Crypt-SSLeay-0.57-2.aix6.1.ppc.rpm
perl-Net_SSLeay.pm-1.55-3.aix6.1.ppc.rpm

After the download follow the install tab
Download all packages into /tmp/rrdtool dir and do following under root user:

Refresh RPM info by:
# /usr/sbin/updtvpkg
cd /tmp/rrdtool
rpm -Uvh zlib-1.2.8-1.aix5.1.ppc.rpm
rpm -Uvh libpng-1.6.9-1.aix5.1.ppc.rpm
rpm -Uvh freetype2-2.5.2-1.aix5.1.ppc.rpm --nodeps
rpm -Uvh libgcc-4.8.*.ppc.rpm 
rpm -Uvh expat-2.1.0-1.aix5.1.ppc.rpm
rpm -Uvh fontconfig-2.10.2-1.aix5.1.ppc.rpm

rpm -Uvh gettext-0.17-1.aix5.1.ppc.rpm --nodeps
rpm -Uvh libffi-3.0.13-1.aix5.1.ppc.rpm
rpm -Uvh libiconv-1.14-2.aix5.1.ppc.rpm
rpm -Uvh glib2-2.30.3-2.aix5.1.ppc.rpm
rpm -Uvh atk-1.32.0-1.aix5.1.ppc.rpm

rpm -Uvh libjpeg-9a-1.aix5.1.ppc.rpm
rpm -Uvh jbigkit-libs-2.0-2.aix5.1.ppc.rpm
rpm -Uvh xz-libs-5.0.5-1.aix5.1.ppc.rpm
rpm -Uvh libtiff-4.0.3-1.aix5.1.ppc.rpm
rpm -Uvh libXrender-0.9.8-1.*.ppc.rpm
rpm -Uvh libdatrie-0.2.4-1.aix5.1.ppc.rpm
rpm -Uvh libthai-0.1.18-1.aix5.1.ppc.rpm
rpm -Uvh jasper-1.900.1-2.aix5.1.ppc.rpm
rpm -Uvh pixman-0.28.2-1.aix5.1.ppc.rpm
rpm -Uvh libart_lgpl-2.3.21-1.aix5.1.ppc.rpm
rpm -Uvh libxml2-2.9.1-1.aix5.1.ppc.rpm
rpm -Uvh librsvg2-2.34.2-1.aix5.1.ppc.rpm --nodeps
rpm -Uvh libxcb-1.7-1.aix5.1.ppc.rpm
rpm -Uvh lzo-2.06-1.aix5.1.ppc.rpm
rpm -Uvh libdbi-0.8.4-1.aix5.1.ppc.rpm

rpm -Uvh dejavu-lgc-sans-mono-fonts-2.34-1.aix5.1.noarch.rpm
rpm -Uvh dejavu-sans-mono-fonts-2.34-1.aix5.1.noarch.rpm
rpm -Uvh openssl-1.0.1g-1.aix5.1.ppc.rpm
rpm -Uvh libcroco-0.6.5-1.aix5.1.ppc.rpm
rpm -Uvh pango-1.24.5-1.aix5.1.ppc.rpm --nodeps
rpm -Uvh cairo-1.12.14-1.aix5.1.ppc.rpm
rpm -Uvh gdbm-1.11-1.aix5.1.ppc.rpm
rpm -Uvh gtk2-2.20.1-2.aix5.1.ppc.rpm --nodeps
rpm -Uvh perl-Crypt-SSLeay-0.57-2.aix6.1.ppc.rpm
rpm -Uvh perl-Net_SSLeay.pm-1.55-3.aix6.1.ppc.rpm --nodeps
rpm -Uvh perl-IO-Tty-1.07-1.aix5.1.ppc.rpm

rpm -Uvh perl-5.8.8-2.aix5.1.ppc.rpm --force
rpm -Uvh perl-TimeDate-1.20-1.aix5.1.noarch.rpm
rpm -Uvh perl-URI-1.58-1.aix5.1.noarch.rpm
rpm -Uvh perl-XML-Parser-2.41-1.aix5.1.ppc.rpm
rpm -Uvh perl-XML-Simple-2.18-1.aix5.1.noarch.rpm
rpm -Uvh perl-XML-LibXML-2.0012-1.aix5.1.ppc.rpm
rpm -Uvh perl-XML-SAX-0.99-1.aix5.1.noarch.rpm
rpm -Uvh perl-XML-SAX-Base-1.08-1.aix5.1.noarch.rpm
rpm -Uvh perl-XML-NamespaceSupport-1.11-1.aix5.1.noarch.rpm

rpm -Uvh rrdtool-1.4.8-2.aix5.1.ppc.rpm
rpm -Uvh rrdtool-perl-1.4.8-2.aix5.1.ppc.rpm

rrdtool -v|head -1
  RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker 
Rescan font cache
/opt/freeware/bin/fc-cache -s
Definitely use this setup in etc/stor2rrd.cfg (adjust last path you your product home is not in /home/stor2rrd/stor2rrd)
PERL=/opt/freeware/bin/perl
RRDTOOL=/opt/freeware/bin/rrdtool
PERL5LIB=/opt/freeware/lib/perl5/vendor_perl/5.8.8:/opt/freeware/lib/perl/5.2.1:/usr/opt/perl5/lib/site_perl/5.2.1:/usr/lib64/perl5/vendor_perl/5.2.1:/opt/freeware/lib/perl/5.8.8:/opt/freeware/lib/perl/5.8.0:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/share/perl5:/usr/lib/perl5:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/usr/lib64/perl5/vendor_perl:/usr/lib/perl5/vendor_perl:/home/stor2rrd/stor2rrd/lib

Problems and their resolutions

  • If you get an error about complaing non existency X11 libraries then install standard X11 packages from AIX distribution:
    # rpm -Uvh libXrender-0.9.8-1.*.ppc.rpm
      error: failed dependencies: libX11.a(shr4.o) is needed by libXrender-0.9.8-1
    # lslpp -L|egrep "X11.base|X11.compat|X11.fnt"
    
    Instal this packages together with their prerequisities from the AIX install media:
    • X11.base
    • X11.compat
    • X11.fnt
    When you still experience that error then try to refresh RPM info by:
    # /usr/sbin/updtvpkg
    
    And try installation again ...

  • Another problem you might experience during libXrender upgrade:
    # rpm -Uvh libXrender-0.9.8-1.*.ppc.rpm
    file /opt/freeware/lib/libXrender.a from install of libXrender-0.9.8-1 conflicts with file from package xrender-0.9.1-3
    
    Solution:
    # rpm -e xrender-0.9.1-3
    # rpm -Uvh libXrender-0.9.8-1.*.ppc.rpm
    libXrender                  ##################################################
    

  • Another error which might appear:
    # su - stor2rrd (lpar2rrd user on the Virtual Appliance)
    $ cd /home/stor2rrd/stor2rrd
    $ . etc/stor2rrd.cfg
    
    $ rrdtool -v
      Could not load module rrdtool.
      Dependent module /opt/freeware/lib/libcairo.a(libcairo.so.2) could not be loaded.
      Could not load module .
      Could not load program /opt/freeware/bin/rrdtool:
      Could not load module /opt/freeware/lib/libcairo.a(libcairo.so.2).
      Dependent module /usr/lib/libXrender.a(libXrender.so.1) could not be loaded.
      Member libXrender.so.1 is not found in archive
    
    Solution:
    Suppose you have 2 SSL package installed.
    # lslpp -L |grep openssl
      openssl.base             1.0.2.800    C     F    Open Secure Socket Layer
      openssl.man.en_US        1.0.2.800    C     F    Open Secure Socket Layer
      openssl                   1.0.1g-1    C     R    Secure Sockets Layer and
    # rpm -qa |grep openssl
      openssl-1.0.1g-1
    
    Then remove RPM one, which is only rrdtool prerequisite
    # rpm -e openssl-1.0.0g-1 --nodeps #  adjust version number if necessary
    
    Try it again, it should work
    # su - stor2rrd
    $ cd /home/stor2rrd/stor2rrd
    $ . etc/stor2rrd.cfg
    
    $ rrdtool -v
      RRDtool 1.4.8  Copyright by Tobias Oetiker 
      ...
    

    If not then placing below LIBPATH into /home/stor2rrd/stor2rrd/etc/.magic
    su - stor2rrd
    cd /home/stor2rrd/stor2rrd
    umask 022
    echo " export LIBPATH=/opt/freeware/lib:/usr/lib" >> etc/.magic
    

    and try "rrdtool -v" again

  • Same error as above which appeared after AIX update to 7100-05-01 but above solution did not work.
    Try this solution:
    # cp -p /usr/lpp/X11/lib/R7/libX11.a /opt/freeware/lib/libX11.a