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.  cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Thu January 20, 2022 05:37 AM
    Hi,

    Getting following errors for syslog facility 'auth.debug' :
      unable to dlopen /usr/lib/sasl2/libsasldb.so.3.0.0:
        0509-022 Cannot load module /usr/lib/sasl2/libsasldb.so.3.0.0.
           0509-150 Dependent module /opt/freeware/lib/libdb.a(libdb-5.3.so) could not be loaded.
             0509-152 Member libdb-5.3.so is not found in archive
    This is the link of libdb.a :
    /opt/freeware/lib/libdb.a -> libdb-4.8.a

    Do I overwrite the link to libdb5.a, or Is there a procedure to follow?

    installed RPMs :
    # rpm -q cyrus-sasl db
    cyrus-sasl-2.1.26-5.ppc
    db-5.3.28-1.ppc



    ------------------------------
    Kind regards,
    Benny Deboel
    ------------------------------


  • 2.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Thu January 20, 2022 06:49 AM
    Try reinstalling db-5.3.28 rpm.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Thu January 20, 2022 09:01 AM
    only db-5.3.28-1.aix6.1.ppc.rpm seems to be available in aixtoolbox.
    # rpm -qi db
    Name : db
    Epoch : 1
    Version : 5.3.28
    Release : 1
    Architecture: ppc
    Install Date: Wed Jan 5 12:53:51 CET 2022
    Group : System Environment/Libraries
    Size : 50189467
    License : BSD and LGPLv2 and Sleepycat
    Signature : (none)
    Source RPM : db-5.3.28-1.src.rpm
    Build Date : Fri Dec 11 11:11:17 CET 2020
    Build Host : pokndd10.pok.stglabs.ibm.com
    Relocations : /opt/freeware
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>

    ------------------------------
    Benny Deboel
    ------------------------------



  • 4.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Thu January 20, 2022 09:27 AM
    If db-5 is installed then why libdb is still pointing to db-4 ? 
    There is something wrong. 
    Can you please share the output of following commands
    "rpm -qa | grep db"
    "rpm -qf /opt/freeware/lib/libdb.a"
    "rpm -qf /opt/freeware/lib/libdb-4.8.a"



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Thu January 20, 2022 09:53 AM
    # rpm -qa | grep db
    db-5.3.28-1.ppc
    gdbm-1.19-1.ppc
    # rpm -qf /opt/freeware/lib/libdb.a
    db-5.3.28-1.ppc
    # rpm -qf /opt/freeware/lib/libdb-4.8.a
    db-5.3.28-1.ppc

    RPM db was updated during installation of sudo-1.9.5p2-1.src.rpm
    # yum history info 4
    Transaction ID : 4
    Begin time : Wed Jan 5 12:53:49 2022
    Begin rpmdb : 38:cbbfb6046c48ffc8789f2b6e56e4f6acc2a1ee34
    End time : 12:53:55 2022 (6 seconds)
    End rpmdb : 41:789ab70894b2fcb38a84138874c897868bb02c4d
    User : System <unset>
    Return-Code : Success
    Command Line : -y -y install sudo-0:1.9.5p2-1.ppc
    Transaction performed with:
      Updated yum-3.4.3-6.noarch @?AIX_Toolbox_noarch
    Packages Altered:
      Dep-Install cyrus-sasl-2.1.26-5.ppc @AIX_Toolbox
      Updated db-4.8.24-3.ppc @?AIX_Toolbox
      Update         1:5.3.28-1.ppc @AIX_Toolbox
      Dep-Install openldap-2.4.58-1.ppc @AIX_Toolbox
      Install sudo-1.9.5p2-1.ppc @AIX_Toolbox
    Scriptlet output:
    1 From cyrus-sasl 2.1.26-5 onwards, symbolic links in /usr/sbin has been removed.
    2 The binaries are shipped in /opt/freeware/sbin. Please use absolute path or
    3 add /opt/freeware/sbin in PATH environment variable to use the binary.
    4 Group "ldap" does not exist.

    ------------------------------
    Benny Deboel
    ------------------------------



  • 6.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Fri January 21, 2022 05:05 AM
    I thik everything looks fine only thing that is weird why after update /opt/freeware/lib/libdb.a is pointing to libdb-4.8.a.
    This should not happen and it is not the case on my test system. It links properly to libdb-5.3.a.
    You may want to reinstall libdb-5 once again and see if that resolves the issue. 
    "yum reinstall db"


    ------------------------------
    SANKET RATHI
    ------------------------------



  • 7.  RE: cyrus-sasl-2.1.26-5 and db-5.3.28-1

    Posted Fri January 21, 2022 08:55 AM
    Reinstallation solved the problem, 

    Previous version 4.8.24-3 was not delivered from aixtoolbox ;
    # rpm -qi db
    Name : db
    Version : 4.8.24
    Release : 3
    Architecture: ppc
    Install Date: Mon Oct 25 11:46:39 CEST 2021
    Group : System Environment/Libraries
    Size : 8518053
    License : Sleepycat
    Signature : (none)
    Source RPM : db-4.8.24-3.src.rpm
    Build Date : Thu Jan 29 09:56:18 CET 2015
    Build Host : green51.in.ibm.com

    --> when upgrading to AIXtoolbox version db-5.3.28, the link to /opt/freeware/lib/libdb.a  is not changed.

    Thanks for the workaround.

    ------------------------------
    Benny Deboel
    ------------------------------