Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 10:28 AM

    Originally posted by: Oshkosh AIX


    I recently did a yum update on the rrdtool packages (rrdtool and rrdtool-perl) from 1.7.0-3 to 1.7.0-4. After completing the upgrade I noticed that the application using the tool was no longer rendering graphs. When I ran the rrdtool command I received the following error.

     

    $ rrdtool

    exec(): 0509-036 Cannot load program rrdtool because of the following errors:

    0509-130 Symbol resolution failed for /opt/freeware/lib/librrd.a(librrd.so.8) because:

    0509-136 Symbol _GLOBAL__AIXI_libdbi_so (number 5) is not exported from

    dependent module /opt/freeware/lib/libdbi.a(libdbi.so.1).

    0509-136 Symbol _GLOBAL__AIXD_libdbi_so (number 6) is not exported from

    dependent module /opt/freeware/lib/libdbi.a(libdbi.so.1).

    0509-192 Examine .loader section symbols with the

    'dump -Tv' command.

     

    I checked the libdbi package and it was a the newest level and had been working with the previous version of rrdtool. I backed out the new version of the package and reinstalled version 1.7.0-3. This resolved the issue and the rrdtool command returned the normal response:

     

    $ rrdtool
    RRDtool 1.7.0  Copyright by Tobias Oetiker <tobi@oetiker.ch>
                   Compiled Mar 15 2018 01:31:33

    Usage: rrdtool [options] command command_options
    Valid commands: create, update, updatev, graph, graphv,  dump, restore,
                    last, lastupdate, first, info, list, fetch, tune,
                    resize, xport, flushcached

    RRDtool is distributed under the Terms of the GNU General
    Public License Version 2. (www.gnu.org/copyleft/gpl.html)

    For more information read the RRD manpages

    It would seem that there is a bug in the rrdtool version 1.7.0-4. Has anyone else run into this issue? If so, is there a fix to get the new version working?

    Thanks,

    Keith Barth
     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 10:41 AM

    Originally posted by: AyappanP


    I don't think you have the latest libdbi package. 

    The latest one is 0.8.4 version. It does have the symbols mentioned here and rrdtool 1.7.0-4 works with this.

    Check "rpm -qa | grep libdbi"

    If found , run "rpm -qi libdbi"


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 10:59 AM

    Originally posted by: Oshkosh AIX


    Ayappan,

    That did occur to me, but I am running version 0.8.4 of libdbi.

    #: / >rpm -qa |grep -i libdbi
    libdbi-0.8.4-1.ppc
    libdbi-devel-0.8.4-1.ppc

     

    I checked the yum repository and that is the newest version available.

    Keith Barth


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 11:04 AM

    Originally posted by: AyappanP


    Paste the output of "rpm -qi libdbi" here.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 11:10 AM

    Originally posted by: Oshkosh AIX


    Name        : libdbi
    Version     : 0.8.4
    Release     : 1
    Architecture: ppc
    Install Date: Wed Jun 28 08:35:12 CDT 2017
    Group       : Development/Libraries
    Size        : 383359
    License     : LGPLv2+
    Signature   : (none)
    Source RPM  : libdbi-0.8.4-1.src.rpm
    Build Date  : Thu Nov 11 08:19:31 CST 2010
    Build Host  : aix51.perzl.org
    Relocations : (not relocatable)
    URL         : http://libdbi.sourceforge.net/
    Summary     : Database Independent Abstraction Layer for C
    Description :
    libdbi implements a database-independent abstraction layer in C, similar to the
    DBI/DBD layer in Perl. Writing one generic set of code, programmers can
    leverage the power of multiple databases and multiple simultaneous database
    connections by using this framework.

    The libdbi package contains just the libdbi framework.  To make use of
    libdbi you will also need one or more plugins from libdbi-drivers, which
    contains the plugins needed to interface to specific database servers.

    The library is available as 32-bit and 64-bit.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 11:13 AM

    Originally posted by: AyappanP


    " Build Host  : aix51.perzl.org" 

    Okay, so this libdbi package is from perzl and not from AIX Toolbox.

    Please reinstall it from AIX Toolbox and it will solve this issue.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 7.  Re: RRDTOOL 1.7.0-4

    Posted Thu February 21, 2019 11:58 AM

    Originally posted by: Oshkosh AIX


    Ayappan,

    By resinstalling the libdbi with the AIX Toolbox build, the issue was resolved. 

    Thanks for the assistance.

    Keith Barth


    #AIXOpenSource
    #AIX-Open-Source-Software