Free performance monitoring for VMware™ and IBM Power Systems™

RRDTool AIX download and install

You might get RRDTool package with its prerequisities either from below links or from LPAR2RRD 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
libffi-3.0.13-1.aix5.1.ppc.rpm
glib2-2.30.3-2.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

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.2-1.*.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-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 
Use this Perl and RRDtool in etc/lpar2rrd.cfg
PERL=/opt/freeware/bin/perl
RRDTOOL=/opt/freeware/bin/rrdtool
PERL5LIB=/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:$BINDIR

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:
    # rrdtool
    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
    # rpm -qa |grep openssl
    
    Then remove RPM one which is coming from actual upgrade.
    rpm -e openssl-1.0.0g-1 -nodeps #  adjust version number if necessary
    
    Then place into environment (/etc/environments or /home/lpar2rrd/.profile)
    LIBPATH=/opt/freeware/lib
    export LIBPATH
    
    log out/in after /etc/environments or /home/lpar2rrd/.profile change
    and try rrdtool -v again (keep /opt/freeware/bin/perl in etc/lpar2rrd.cfg)