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.  Yum quit working...

    Posted Wed September 06, 2023 10:58 AM

    Could I get some advice on this?

    wdc-aixdevdb-13# yum
    exec(): 0509-036 Cannot load program /opt/freeware/bin/python2 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib/libpython2.7.so because:
            0509-136   Symbol _GLOBAL__AIXI_libsqlite3_so (number 219) is not exported from
                       dependent module /usr/opt/rpm/lib/libsqlite3.so.
            0509-136   Symbol _GLOBAL__AIXD_libsqlite3_so (number 220) is not exported from
                       dependent module /usr/opt/rpm/lib/libsqlite3.so.
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    wdc-aixdevdb-13# lslpp -l |grep open
      CentrifyDC.openldap      5.5.1.400  COMMITTED  Centrify DirectControl
      CentrifyDC.openssh     7.7.551.395  COMMITTED  OpenSSH dynamically linked
      CentrifyDC.openssl       5.5.1.400  COMMITTED  Centrify DirectControl OpenSSL
      openssh.base.client   8.1.102.2106  COMMITTED  Open Secure Shell Commands
      openssh.base.server   8.1.102.2106  COMMITTED  Open Secure Shell Server
      openssh.license       8.1.102.2106  COMMITTED  Open Secure Shell License
      openssh.man.en_US     8.1.102.2106  COMMITTED  Open Secure Shell
      openssh.msg.en_US     8.1.102.2106  COMMITTED  Open Secure Shell Messages -
      openssl.base            1.1.1.1200  COMMITTED  Open Secure Socket Layer
      openssl.license         1.1.1.1200  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.1.1.1200  COMMITTED  Open Secure Socket Layer
      pware61-64.openldap.rte   2.4.23.0  COMMITTED  OpenLDAP 2.4.23 (64-bit)
      pware61-64.openssl.rte    0.9.8.18  COMMITTED  OpenSSL 0.9.8r (64-bit)
      openssh.base.client   8.1.102.2106  COMMITTED  Open Secure Shell Commands
      openssh.base.server   8.1.102.2106  COMMITTED  Open Secure Shell Server
      openssl.base            1.1.1.1200  COMMITTED  Open Secure Socket Layer

    wdc-aixdevdb-13# rpm -qa
    ncurses-6.2-3.ppc
    bash-5.1.4-2.ppc
    gcc8-cpp-8.3.0-6.ppc
    grep-3.7-1.ppc
    sudo_ids-1.9.5p2-1.ppc
    flex-2.6.4-1.ppc
    mpfr-4.1.0-1.ppc
    info-6.7-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    python-tools-2.7.18-3.ppc
    dtadmtls-1.10-1.noarch
    libffi-3.4.2-1.ppc
    gettext-0.21-1.ppc
    krb5-libs-1.18.4-1.ppc
    python-devel-2.7.18-3.ppc
    lockmod-1.2-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    bzip2-1.0.8-2.ppc
    gdbm-1.19-1.ppc
    libstdc++8-devel-8.3.0-6.ppc
    gdbm-devel-1.19-1.ppc
    Net-SNMP-5.2-1.ppc
    db-5.3.28-1.ppc
    readline-8.1-1.ppc
    openldap-2.4.58-3.ppc
    python3-3.7.12-1.ppc
    python-pycurl-7.43.0-1.ppc
    yum-metadata-parser-1.1.4-2.ppc
    libtasn1-4.16.0-1.ppc
    python-2.7.18-3.ppc
    lz4-1.9.2-1.ppc
    make-4.3-1.ppc
    generic-1.2-1.ppc
    libmpc-1.2.1-1.ppc
    sqlite-3.35.5-1.ppc
    libssh2-1.9.0-1.ppc
    gawk-5.1.1-1.ppc
    tcp_wrappers-7.6-1.ppc
    python-iniparse-0.4-1.noarch
    expat-2.4.6-1.ppc
    pysqlite-2.8.3-2.ppc
    autoconf-2.71-1.noarch
    popt-1.18-1.ppc
    coreutils-9.0-1.ppc
    AIX-rpm-7.2.5.203-122.ppc
    conserver-8.1.7-2.ppc
    xz-libs-5.2.5-1.ppc
    perl-5.30.3-2.ppc
    m4-1.4.18-1.ppc
    dos2unix-7.4.1-1.ppc
    openCIMOM-0.8-1.noarch
    libgcc8-8.3.0-6.ppc
    libgomp-8-1.ppc
    p11-kit-0.23.22-1.ppc
    rsync-3.2.3-1.ppc
    bash-doc-5.1.4-2.ppc
    unzip-6.0-3.ppc
    libgomp8-8.3.0-6.ppc
    pcre-8.44-2.ppc
    automake-1.16.5-1.noarch
    libsigsegv-2.10-2.ppc
    zlib-1.2.12-1.ppc
    libtextstyle-0.21-1.ppc
    ca-certificates-2020.06.01-2.ppc
    libstdc++-devel-8-1.ppc
    binutils-2.37-2.ppc
    libgcc-8-1.ppc
    libunistring-0.9.10-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    curl-7.79.1-1.ppc
    zip-3.0-4.ppc
    patch-2.7.6-1.ppc
    libstdc++-8-1.ppc
    glib2-2.56.1-3.ppc
    gcc8-8.3.0-6.ppc
    gcc-8-1.ppc
    libstdc++8-8.3.0-6.ppc
    libxml2-2.9.11-1.ppc
    sed-4.8-1.ppc
    openldap-devel-2.4.58-3.ppc
    less-598-1.ppc
    libtool-2.4.6-2.ppc
    gmp-6.2.1-1.ppc
    libiconv-1.16-1.ppc
    gcc-cpp-8-1.ppc
    yum-3.4.3-8.noarch
    diffutils-3.8-1.ppc

    wdc-aixdevdb-13# lslpp -l rpm.rte
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      rpm.rte                4.15.1.1011  COMMITTED  RPM Package Manager
     
    Path: /etc/objrepos
      rpm.rte                4.15.1.1011  COMMITTED  RPM Package Manager

    wdc-aixdevdb-13# env
    _=/usr/bin/env
    MANPATH=/usr/bin/man:/usr/share/man:/usr/dt/man:/usr/opt/freeware/man:/usr/local/man:/opt/pware64/man:/opt/freeware/share/man:/opt/pware64/share/man
    LANG=en_US
    AFFINITYHOME=/dst/app/hiafftrn
    WSM_WS_CMD="startsrc -s http4websm"
    LOGIN=root
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/local/bin:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin
    ORALIB=/orabase/app/oracle/product/10.2.0/lib32/libclntsh.a
    LC__FASTMSG=true
    EDITOR=vi
    LOGNAME=root
    MAIL=/usr/spool/mail/root
    SONIC_HOME=/dst/app/hiafftrn/sonicmq
    LOCPATH=/usr/lib/nls/loc
    PS1=wdc-aixdevdb-13\#
    PROPATH=/dst/app/hiafftrn/bin:/dst/app/hiafftrn
    WSM_DOC_DIR="/usr/websm/http/com.ibm.websm.http.server_1.0.0"
    USER=root
    AUTHSTATE=compat
    SHELL=/usr/bin/ksh
    ODMDIR=/etc/objrepos
    TMOUT=0
    HOME=/
    TERM=vt220
    MAILMSG=[YOU HAVE NEW MAIL]
    ORACLE_HOME=/orabase/app/oracle/product/10.2.0
    PWD=/swrep/OS/aix72
    TZ=America/Chicago
    WSM_CGI_DIR=
    A__z=! LOGNAME="*TMOUT
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat



    ------------------------------
    Bill Barnhill
    ------------------------------



  • 2.  RE: Yum quit working...

    Posted Wed September 06, 2023 11:53 AM

    I have removed all the rpm's and attempted to reinstall yum from bundle6, now getting this:

    wdc-aixdevdb-13# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
     
            0509-022 Cannot load module /usr/lib/libglib-2.0.a(libglib-2.0.so.0).
            0509-150   Dependent module /usr/lib/libintl.a(libintl.so.1) could not be loaded.
            0509-152   Member libintl.so.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
            0509-150   Dependent module /usr/lib/libglib-2.0.a(libglib-2.0.so.0) could not be loaded.
     
    Please install a package which provides this module, or
    verify that the module is installed correctly.
     
    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]
     
    If you cannot solve this problem yourself, please go to
    the yum faq at:
    wdc-aixdevdb-13# ls
    ca-certificates-2016.10.7-2.aix6.1.ppc.rpm    pysqlite-1.1.7-2.aix6.1.ppc.rpm               python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
    curl-7.52.1-1.aix6.1.ppc.rpm                  python-2.7.10-1.aix6.1.ppc.rpm                readline-6.1-2.aix6.1.ppc.rpm
    db-4.8.24-3.aix6.1.ppc.rpm                    python-devel-2.7.10-1.aix6.1.ppc.rpm          sqlite-3.15.2-1.aix6.1.ppc.rpm
    gdbm-1.8.3-5.aix5.2.ppc.rpm                   python-iniparse-0.4-1.aix6.1.noarch.rpm       yum-3.4.3-8.aix6.1.noarch.rpm
    gettext-0.19.7-1.aix6.1.ppc.rpm               python-pycurl-7.19.3-1.aix6.1.ppc.rpm         yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm
    glib2-2.14.6-2.aix5.2.ppc.rpm                 python-tools-2.7.10-1.aix6.1.ppc.rpm          yum_bundle_v6.tar
    wdc-aixdevdb-13# rpm -ivg *.rpm
    Verifying packages...
    Preparing packages...
    readline-6.1-2.ppc
    sqlite-3.15.2-1.ppc
    ar: 0707-100 /opt/freeware/lib/libintl.a does not exist.
    ar: 0707-100 /opt/freeware/lib/libintl.a does not exist.
    /
    gettext-0.19.7-1.ppc
    /
    glib2-2.14.6-2.ppc
    yum-metadata-parser-1.1.4-2.ppc
    gdbm-1.8.3-5.ppc
    db-4.8.24-3.ppc
    python-2.7.10-1.ppc
    pysqlite-1.1.7-2.ppc
    python-iniparse-0.4-1.noarch
    ca-certificates-2016.10.7-2.ppc
    curl-7.52.1-1.ppc
    python-pycurl-7.19.3-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    yum-3.4.3-8.noarch
    python-devel-2.7.10-1.ppc
    python-tools-2.7.10-1.ppc
    wdc-aixdevdb-13# rpm -qa
    readline-6.1-2.ppc
    gettext-0.19.7-1.ppc
    yum-metadata-parser-1.1.4-2.ppc
    db-4.8.24-3.ppc
    pysqlite-1.1.7-2.ppc
    ca-certificates-2016.10.7-2.ppc
    python-pycurl-7.19.3-1.ppc
    yum-3.4.3-8.noarch
    python-tools-2.7.10-1.ppc
    AIX-rpm-7.2.5.203-131.ppc
    sqlite-3.15.2-1.ppc
    glib2-2.14.6-2.ppc
    gdbm-1.8.3-5.ppc
    python-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    curl-7.52.1-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    python-devel-2.7.10-1.ppc


    ------------------------------
    Bill Barnhill
    ------------------------------



  • 3.  RE: Yum quit working...

    Posted Wed September 06, 2023 01:13 PM

    So it turns out that it works with:

    rpm.rte                4.15.1.1006  COMMITTED  RPM Package Manager

    It won't work with:
    rpm.rte                4.15.1.1011  

    Even though I have other aix install working with the 1011 version at the same level of AIX.  Not sure what the issue is with 1006 on this system. 



    ------------------------------
    Bill Barnhill
    ------------------------------