AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  db.ppc 6.2.32 is missing /opt/freeware/lib/libdb.so

    Posted Thu March 22, 2018 09:34 AM

    Originally posted by: ashevchenko


    It seems something broken in new db.ppc. There are no libdb.so in db.ppc 6.2.32. After installing it every command fails to execute:

    bash-4.4# rpm -qa
    Please wait...Could not load program /usr/opt/freeware/bin/rpm:
            Dependent module libdb.so could not be loaded.
    Could not load module libdb.so.
    System error: No such file or directory
    
    bash-4.4# yum info db.ppc
    Installed Packages
    Name        : db
    Arch        : ppc
    Version     : 6.2.32
    Release     : 1
    Size        : 17 M
    Repo        : installed
    From repo   : AIX_Toolbox
    Summary     : The Berkeley Database, the Open Source embedded database system
    URL         : 
    http://www.sleepycat.com/index.html
    License     : Sleepycat
    Description : Berekley DB is a programmatic toolkit that provides high-performance built-in
                : database support for desktop and server applications and for information
                : appliances.
                :
                : The Berkeley DB access methods include B+tree, Extended Linear Hashing, Fixed
                : and Variable-length records, and Queues.  Berkeley DB provides full
                : transactional support, database recovery, online backups, and separate
                : access to locking, logging and shared memory caching subsystems.
                :
                : Berkeley DB supports C, C++, Java, Tcl, Perl, and Python APIs.
    
    bash-4.4# rpm -ql db.ppc | grep libdb.so
    bash-4.4#
    

    Another server with previous version db.ppc 4.8.24 contains /opt/freeware/lib/libdb.so:

    bash-4.4# yum info db.ppc
    Installed Packages
    Name        : db
    Arch        : ppc
    Version     : 4.8.24
    Release     : 4
    Size        : 9.5 M
    Repo        : installed
    From repo   : AIX_Toolbox
    Summary     : The Berkeley Database, the Open Source embedded database system
    URL         : 
    http://www.sleepycat.com/index.html
    License     : Sleepycat
    Description : Berekley DB is a programmatic toolkit that provides high-performance built-in
                : database support for desktop and server applications and for information
                : appliances.
                :
                : The Berkeley DB access methods include B+tree, Extended Linear Hashing, Fixed
                : and Variable-length records, and Queues.  Berkeley DB provides full
                : transactional support, database recovery, online backups, and separate
                : access to locking, logging and shared memory caching subsystems.
                :
                : Berkeley DB supports C, C++, Java, Tcl, Perl, and Python APIs.
    
    Available Packages
    Name        : db
    Arch        : ppc
    Version     : 6.2.32
    Release     : 1
    Size        : 5.8 M
    Repo        : AIX_Toolbox
    Summary     : The Berkeley Database, the Open Source embedded database system
    URL         : 
    http://www.sleepycat.com/index.html
    License     : Sleepycat
    Description : Berekley DB is a programmatic toolkit that provides high-performance built-in
                : database support for desktop and server applications and for information
                : appliances.
                :
                : The Berkeley DB access methods include B+tree, Extended Linear Hashing, Fixed
                : and Variable-length records, and Queues.  Berkeley DB provides full
                : transactional support, database recovery, online backups, and separate
                : access to locking, logging and shared memory caching subsystems.
                :
                : Berkeley DB supports C, C++, Java, Tcl, Perl, and Python APIs.
    
    bash-4.4#  rpm -ql db.ppc | grep libdb.so
    /opt/freeware/lib/libdb.so
    /usr/lib/libdb.so
    

     

     



  • 2.  Re: db.ppc 6.2.32 is missing /opt/freeware/lib/libdb.so

    Posted Thu March 22, 2018 10:37 AM

    Originally posted by: Timofey_D


    Same here.

    # rpm -q db
    Could not load program /usr/opt/freeware/bin/rpm:
            Dependent module libdb.so could not be loaded.
    Could not load module libdb.so.
    System error: No such file or directory

    ln -s libdb-6.2.so libdb.so doesn't help:

    # rpm -q db
    BDB1566 DB_ENV->mutex_stat_print interface requires an environment configured for the mutex subsystem
    BDB0055 illegal flag specified to DB_ENV->open
    /usr/sbin/rpm_share[470]: 16318588 Memory fault(coredump)



  • 3.  Re: db.ppc 6.2.32 is missing /opt/freeware/lib/libdb.so

    Posted Thu March 22, 2018 11:52 AM

    Originally posted by: sangameshm


    Thanks for reporting the issue. We will correct this.

    Please can you try by creating /opt/freeware/lib/lib.so link pointing to /opt/freeware/lib/libdb-4.8.so ?

    # ls -l /opt/freeware/lib/libdb.so
    lrwxrwxrwx 1 root system 34 Mar 21 00:13 /opt/freeware/lib/libdb.so -> /usr/opt/freeware/lib/libdb-4.8.so

     

    libd-4.8.so can be extracted from this rpm package https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/db/db-4.8.24-3.aix6.1.ppc.rpm

    If it isn't present in any other server.

    Thanks,

    Sangamesh



  • 4.  Ответ: Re: db.ppc 6.2.32 is missing /opt/freeware/lib/libdb.so

    Posted Fri March 23, 2018 02:54 AM

    Originally posted by: ashevchenko


    Getting /opt/freeware/lib/libdb-4.8.so from another server fixes this problem.