AIX Open Source

 View Only
Expand all | Collapse all

configuring local YUM repo in AIX 7.2.5 server, getting errors

  • 1.  configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Thu April 28, 2022 01:54 PM
    Edited by Harley AIX Thu April 28, 2022 01:57 PM
    Hi, 
    I am trying to configuring local YUM repo in AIX7.2.5 system and getting below error,

    hdmcpilnim1:/opt/freeware/etc/yum # yum repolist
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    0509-130 Symbol resolution failed for /usr/opt/rpm/lib/libnss3.a(libnss3.so) because:
    0509-136 Symbol PR_GetEnvSecure (number 64) is not exported from
    dependent module /usr/lib/libnspr4.so.
    0509-136 Symbol _SGN_VerifyPKCS1DigestInfo (number 190) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_DestroyCheapArena (number 257) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_InitCheapArena (number 258) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_ZAllocAlignedOffset_Util (number 259) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_ZAllocAligned_Util (number 260) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-021 Additional errors occurred but are not reported.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    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:
    http://yum.baseurl.org/wiki/Faq


    My yum.conf file looks like below....

    [main]
    plugins=1
    cachedir=/var/cache/yum
    keepcache=1
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1

    [AIX_Toolbox]
    name=AIX generic repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_noarch]
    name=AIX noarch repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    enabled=1
    gpgcheck=0


    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0

    ------------------

    Here are more info about the rpm and system level..

    hdmcpilnim1:/ # oslevel -s
    7200-05-03-2148

    hdmcpilnim1:/ # rpm -qa yum
    yum-3.4.3-8.noarch

    hdmcpilnim1:/ #
    hdmcpilnim1:/ # rpm -qa |sort
    AIX-rpm-7.2.5.101-46.ppc
    MySQL-client-5.5.10-1.ppc
    acquire-9.30.0-Base.noarch
    apr-1.5.2-1.ppc
    apr-util-1.5.4-1.ppc
    apr0-0.9.19-1.ppc
    apr0-util-0.9.19-1.ppc
    atk-2.20.0-3.ppc
    bash-4.4-3.ppc
    bison-2.4.3-1.ppc
    bzip2-1.0.6-1.ppc
    bzip2-devel-1.0.6-1.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.14.6-2waixX11.ppc
    conserver-8.1.7-2.ppc
    coreutils-8.18-1.ppc
    cups-2.2.3-3.ppc
    cups-libs-2.2.3-3.ppc
    curl-7.52.1-1.ppc
    curl-devel-7.26.0-1.ppc
    cyrus-sasl-2.1.26-3.ppc
    db-6.2.32-2.ppc
    db4-4.7.25-2.ppc
    dbus-1.12.10-1.ppc
    expat-2.2.4-1.ppc
    expect-5.45-1.ppc
    file-5.29-2.ppc
    file-libs-5.29-2.ppc
    fontconfig-2.11.95-3.ppc
    freetype2-2.8-1.ppc
    gcc-4.2.0-3.ppc
    gcc-c++-4.2.0-3.ppc
    gdbm-1.12-1.p7.ppc
    gdk-pixbuf-2.35.1-2waixX11.ppc
    gettext-0.19.8.1-3.ppc
    gettext-devel-0.19.8.1-3.ppc
    glib-1.2.10-2.ppc
    glib2-2.56.1-2.ppc
    glib2-devel-2.22.5-2.ppc
    gmp-6.1.2-1.ppc
    gnutls-3.6.7-1.ppc
    grep-2.5.1-1.ppc
    gtk+-1.2.10-4.ppc
    gzip-1.6-2.ppc
    harfbuzz-1.2.7-2.ppc
    info-6.4-1.ppc
    libXft-2.3.2-4waixX11.ppc
    libXrender-0.9.8-2waixX11.ppc
    libffi-3.2.1-2.ppc
    libgcc-6.3.0-1.ppc
    libgcrypt-1.4.6-1.ppc
    libgpg-error-1.10-1.ppc
    libiconv-1.14-3.ppc
    libidn-devel-1.19-2.ppc
    libjpeg-6b-7.ppc
    libmpc-1.0.3-1.ppc
    libpcap-1.1.1-1.ppc
    libpng-1.6.27-2.ppc
    libsmbclient-4.10.6-1.ppc
    libssh2-1.2.7-1.ppc
    libssh2-devel-1.2.7-1.ppc
    libssh2-docs-1.2.7-1.ppc
    libstdc++-6.3.0-1.ppc
    libstdc++-devel-4.2.0-3.ppc
    libtasn1-4.9-2.ppc
    libtiff-3.8.2-1.ppc
    libxml2-2.9.7-1.ppc
    logrotate-3.8.5-1.ppc
    lpar2rrd-agent-7.00-1.ppc
    lua-5.3.4-2.ppc
    lzo-2.10-2.ppc
    mpfr-3.1.2-3.ppc
    ncurses-6.1-2.ppc
    nettle-3.4.1-1.ppc
    nmap-3.81-1.ppc
    nspr-4.13.1-1.ppc
    nss-util-3.27.2-1.ppc
    openCIMOM-0.8-1.noarch
    openldap-2.4.46-2.ppc
    openssl-1.0.0d-1.ppc
    openssl-devel-1.0.0d-1.ppc
    openssl-doc-1.0.0d-1.ppc
    osinstall-1.0-1.noarch
    p11-kit-0.23.16-1.ppc
    pango-1.40.1-2waixX11.ppc
    patch-2.7.5-1.ppc
    pci.df1000fa-1-191A5.noarch
    pcre-8.12-1.ppc
    pixman-0.34.0-1.ppc
    pkg-config-0.25-2.ppc
    popt-1.16-1.ppc
    pysqlite-1.1.7-2.ppc
    python-2.7.10-1.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-requests-2.4.3-1.noarch
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    readline-8.0-2.ppc
    readline-devel-8.0-2.ppc
    rsync-3.0.6-1.ppc
    samba-4.10.6-1.ppc
    samba-client-4.10.6-1.ppc
    samba-common-4.10.6-1.ppc
    samba-devel-4.10.6-1.ppc
    samba-libs-4.10.6-1.ppc
    samba-pidl-4.10.6-1.ppc
    samba-python-4.10.6-1.ppc
    samba-test-4.10.6-1.ppc
    samba-test-libs-4.10.6-1.ppc
    samba-winbind-4.10.6-1.ppc
    samba-winbind-clients-4.10.6-1.ppc
    samba-winbind-devel-4.10.6-1.ppc
    samba-winbind-krb5-locator-4.10.6-1.ppc
    screen-3.9.10-2.ppc
    sed-4.2.1-2.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    tcl-8.6.3-1.ppc
    tcsh-6.11-3.ppc
    tk-8.6.3-1.ppc
    unzip-5.51-1.ppc
    vim-X11-7.4.460-1.ppc
    vim-common-7.4.460-1.ppc
    vim-enhanced-7.4.460-1.ppc
    vim-minimal-7.4.460-1.ppc
    vnc-3.3.3r2-6.ppc
    wget-1.9.1-2ssl.ppc
    xft-0.0-0.ppc
    xrender-0.0-0.ppc
    xz-libs-5.2.4-1.ppc
    yum-3.4.3-8.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-1.ppc
    zlib-devel-1.2.11-1.ppc
    hdmcpilnim1:/ #



    Please assist me to fix the errors.

    Thanks,
    H-D AIX team.

    ------------------------------
    Harley AIX
    ------------------------------


  • 2.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri April 29, 2022 12:53 AM
    There are non-rpm.rte modules in /usr/lib that cause a conflict:
    /usr/lib/libnspr4.so
    /usr/lib/libnssutil3.so

    It looks like you might have LIBPATH set, so /usr/lib loads before the rpm.rte libraries, which provide the expected symbols.

    For example:

    # lslpp -f | grep libnssutil3.s --> /usr/opt/rpm/lib/libnssutil3.so

    # lslpp -w /usr/opt/rpm/lib/libnssutil3.so-->rpm.rte(4.15.1.3)

    # dump -Tv /usr/opt/rpm/lib/libnssutil3.so | grep PORT_ZAllocAligned
    [259] 0x00003af0 .data EXP DS SECdef [noIMid] PORT_ZAllocAlignedOffset_Util
    [260] 0x00003afc .data EXP DS SECdef [noIMid] PORT_ZAllocAligned_Util

    Solution:  
    # unset LIBPATH
    ​​

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 3.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri April 29, 2022 01:15 PM
    Hi, 

    hdmcpilnim1:/opt/freeware/etc/yum # unset LIBPATH

    hdmcpilnim1:/opt/freeware/etc/yum # yum repolist
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    0509-130 Symbol resolution failed for /usr/opt/rpm/lib/libnss3.a(libnss3.so) because:
    0509-136 Symbol PR_GetEnvSecure (number 64) is not exported from
    dependent module /usr/lib/libnspr4.so.
    0509-136 Symbol _SGN_VerifyPKCS1DigestInfo (number 190) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_DestroyCheapArena (number 257) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_InitCheapArena (number 258) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_ZAllocAlignedOffset_Util (number 259) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-136 Symbol PORT_ZAllocAligned_Util (number 260) is not exported from
    dependent module /usr/lib/libnssutil3.so.
    0509-021 Additional errors occurred but are not reported.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    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:
    http://yum.baseurl.org/wiki/Faq

    I ran, unset LIBPATH, but still getting similar error.

    Thanks,
    H-D AIX





    ------------------------------
    Harley AIX
    ------------------------------



  • 4.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri April 29, 2022 02:15 PM
    Hello

    You have non-AIX provided  nss-util. 

    These packages provided:
    /usr/lib/libnssutil3.a
    /usr/lib/libnssutil3.so

    whereas rpm.rte provides
    /usr/lib/libnssutil3.so -> /usr/opt/rpm/lib/libnssutil3.so

    I see you also have non-AIX Toolbox openssl.rpm and db. I don't know how many other packages might be from other sources, but these packages will usually cause conflict with the Toolbox rpms.

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 5.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Thu May 05, 2022 05:35 PM
    Edited by Harley AIX Thu May 05, 2022 05:38 PM
    Hi,
    I tried to install DNF and python in another clean test box but still it is not working..

    hdatwastst01:/mnt/depot/DNF #
    hdatwastst01:/mnt/depot/DNF # rpm -qa |sort
    AIX-rpm-7.2.5.101-11.ppc
    apr-1.4.6-1.ppc
    atk-1.12.3-2.ppc
    bash-5.0-1.ppc
    bash-doc-4.2-2.ppc
    bzip2-1.0.6-1.ppc
    bzip2-devel-1.0.6-1.ppc
    ca-certificates-2020.06.01-0.ppc
    cairo-1.8.8-1.ppc
    curl-7.71.1-1.ppc
    curl-devel-7.28.0-1.ppc
    db-4.8.24-3.ppc
    dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    dnf-data-4.2.17-32_1.noarch
    expat-2.0.1-3.ppc
    expat-devel-2.0.1-3.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gcc-4.2.0-3.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.17-7.ppc
    gettext-devel-0.19.8.1-5.ppc
    git-2.20.4-1.ppc
    glib2-2.30.3-1.ppc
    glib2-devel-2.56.1-2.ppc
    gnupg-1.4.12-1.ppc
    gtk2-2.10.6-4.ppc
    info-4.13a-2.ppc
    libassuan-2.1.1-1.ppc
    libcomps-0.1.11-32_1.ppc
    libdnf-0.39.1-32_1.ppc
    libffi-3.0.10-1.ppc
    libffi-devel-3.0.10-1.ppc
    libgcc-8-1.ppc
    libgcc8-8.4.0-5.ppc
    libgcrypt-1.5.4-1.ppc
    libgpg-error-1.15-1.ppc
    libiconv-1.14-1.ppc
    libiconv-1.14-2.ppc
    libidn-1.25-1.ppc
    libidn-devel-1.25-1.ppc
    libjpeg-6b-6.ppc
    libksba-1.3.0-1.ppc
    libmodulemd-1.5.2-32_1.ppc
    libpng-1.2.32-2.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    libssh2-1.4.2-1.ppc
    libssh2-devel-1.4.2-1.ppc
    libssh2-docs-1.4.2-1.ppc
    libtiff-3.8.2-1.ppc
    libzstd-1.4.4-32_1.ppc
    lpar2rrd-agent-5.05-2.ppc
    ncurses-6.2-2.ppc
    ncurses-devel-6.0p20160730-1.ppc
    openldap-2.4.23-0.3.ppc
    openssl-1.0.0j-1.ppc
    openssl-devel-1.0.0j-1.ppc
    openssl-doc-1.0.0j-1.ppc
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    pango-1.14.5-4.ppc
    perl-5.8.8-2.ppc
    pixman-0.12.0-3.ppc
    pkg-config-0.25-2.ppc
    python3-3.7.9-0.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-devel-3.7.9-0.ppc
    python3-dnf-4.2.17-32_1.noarch
    python3-dnf-plugin-migrate-4.0.16-32_1.noarch
    python3-dnf-plugins-core-4.0.16-32_1.noarch
    python3-docs-3.7.9-0.ppc
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_1.ppc
    python3-libcomps-0.1.11-32_1.ppc
    python3-libdnf-0.39.1-32_1.ppc
    python3-librepo-1.11.0-32_1.ppc
    python3-six-1.13.0-1.noarch
    python3-test-3.7.9-0.ppc
    python3-tools-3.7.9-0.ppc
    readline-6.2-3.ppc
    readline-devel-6.2-3.ppc
    rpm-python3-4.15.1-32_1.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    vim-X11-8.1.2424-1.ppc
    vim-common-8.1.2424-1.ppc
    vim-enhanced-8.1.2424-1.ppc
    vim-minimal-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    yum-4.2.17-32_1.noarch
    zchunk-1.1.4-32_1.ppc
    zchunk-devel-1.1.4-32_1.ppc
    zchunk-libs-1.1.4-32_1.ppc
    zlib-1.2.7-1.ppc
    zlib-devel-1.2.7-1.ppc
    hdatwastst01:/mnt/depot/DNF # whereis python
    python:
    hdatwastst01:/mnt/depot/DNF # rpm -qa python

    hdatwastst01:/root # oslevel -s
    7200-05-03-2148

    Thanks,

    H-D AIX



    ------------------------------
    Harley AIX
    ------------------------------



  • 6.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Thu May 05, 2022 09:48 PM
    You do not have python installed. You have python3 installed.

    There are multiple python versions.

    python is python2.7
    python 3 is python3.7
    python3.9 is python3.9

    For example: 
    # dnf repoquery python python3 python3.9 --latest-limit 1
    Last metadata expiration check: 1 day, 5:27:11 ago on Wed May 4 15:17:50 CDT 2022.
    python-0:2.7.18-3.ppc
    python3-0:3.7.12-1.ppc
    python3.9-0:3.9.6-1.ppc

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 7.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 03:20 AM
    Hi Harley, 

    When you say still not working does it mean dnf not working ? Or you are not able to get python? 
    As Jan mentioned there are multiple python, Are you looking for python2? 
    python2 is out of support and python3 is the current supported by community. 
    If you still want python2 then you can install using dnf, "dnf install python"
    Otherwise use python3, python3 binary is called python3.

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



  • 8.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 10:28 AM
    Hi Sanket, 
    For now we need python3. But when I run below, not giving any output...

    hdatwastst01:/root # python3 -V
    ksh: python3: not found
    hdatwastst01:/root #
    hdatwastst01:/root #

    hdatwastst01:/root # python3 -V
    ksh: python3: not found
    hdatwastst01:/root #
    hdatwastst01:/root #
    hdatwastst01:/root # whereis python
    python:
    hdatwastst01:/root #
    hdatwastst01:/root #

    hdatwastst01:/root # cd /opt/freeware
    hdatwastst01:/opt/freeware # cd bin

    hdatwastst01:/opt/freeware/bin # ls -la python*
    lrwxrwxrwx 1 root system 10 May 5 05:52 python3 -> python3_64
    lrwxrwxrwx 1 root system 17 May 5 05:53 python3-config -> python3-config_64
    lrwxrwxrwx 1 root system 19 May 5 05:53 python3-config_32 -> python3.7-config_32
    lrwxrwxrwx 1 root system 19 May 5 05:53 python3-config_64 -> python3.7-config_64
    lrwxrwxrwx 1 root system 12 May 5 05:52 python3.7 -> python3.7_64
    lrwxrwxrwx 1 root system 19 May 5 05:53 python3.7-config -> python3.7-config_64
    lrwxrwxrwx 1 root system 20 May 5 05:53 python3.7-config_32 -> python3.7m-config_32
    lrwxrwxrwx 1 root system 20 May 5 05:53 python3.7-config_64 -> python3.7m-config_64
    lrwxrwxrwx 1 root system 13 May 5 05:52 python3.7_32 -> python3.7m_32
    lrwxrwxrwx 1 root system 13 May 5 05:52 python3.7_64 -> python3.7m_64
    lrwxrwxrwx 1 root system 13 May 5 05:52 python3.7m -> python3.7m_64
    lrwxrwxrwx 1 root system 20 May 5 05:53 python3.7m-config -> python3.7m-config_64
    -rwxr-xr-x 1 root system 3090 Mar 29 2021 python3.7m-config_32
    -rwxr-xr-x 1 root system 3067 Mar 29 2021 python3.7m-config_64
    -rwxr-xr-x 1 root system 1912446 Mar 29 2021 python3.7m_32
    -rwxr-xr-x 1 root system 785972 Mar 29 2021 python3.7m_64
    lrwxrwxrwx 1 root system 12 May 5 05:52 python3_32 -> python3.7_32
    lrwxrwxrwx 1 root system 12 May 5 05:52 python3_64 -> python3.7_64
    hdatwastst01:/opt/freeware/bin #
    hdatwastst01:/opt/freeware/bin #

    hdatwastst01:/opt/freeware/bin # echo $PATH
    /usr/java14_64/bin:/oracle/X01/112_64/lib:/oracle/X01/112_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/local/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin
    hdatwastst01:/opt/freeware/bin #

    Do I need to enable or setup something to get the python3 work in the system or to get the output of python3 -V output?

    Thanks,
    H-D AIX team.

    ------------------------------
    Harley AIX
    ------------------------------



  • 9.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 10:43 AM
    You wrote:

    # echo $PATH

    /usr/java14_64/bin:/oracle/X01/112_64/lib:/oracle/X01/112_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/local/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin

    /opt/freeware/bin is not in your PATH.


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 10.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 10:59 AM
    --

    ------------------------------
    Harley AIX
    ------------------------------



  • 11.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 11:01 AM
    Hi,

    hdatwastst01:/opt/freeware/bin # echo $PATH
    /usr/java14_64/bin:/oracle/X01/112_64/lib:/oracle/X01/112_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/local/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin:/opt/freeware/bin
    hdatwastst01:/opt/freeware/bin #

    hdatwastst01:/root # python3 -V
    Python 3.7.9

    hdatwastst01:/opt/freeware/bin # whereis python
    python:

    no output...

    Thanks,
    H-D AIX 



    ------------------------------
    Harley AIX
    ------------------------------



  • 12.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Fri May 06, 2022 02:53 PM
    python is python2.7
    python2.7 was not listed in your rpm -qa output, which means it is not installed.


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 13.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 09, 2022 11:22 AM
    Hi, 
    After set the path and export the PATH, now I can see the version output of python3, but not seeing below command output..

    hdatwastst01:/root # echo $PATH
    /usr/java14_64/bin:/oracle/X01/112_64/lib:/oracle/X01/112_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/loc/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/freeware/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin

    hdatwastst01:/root # whereis python3
    python3:

    hdatwastst01:/root # python3 -V
    Python 3.7.9

    There is a set of python commands that need to exist in /usr/bin, as well. It should create symlinks, when we installed it.
    But not seeing any.  Any idea why? As per our users, /opt/freeware/bin/python3 is not enough.

    Thanks,
    H-D AIX team


    ------------------------------
    Harley AIX
    ------------------------------



  • 14.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 09, 2022 02:29 PM
    They no longer link AIX Toolbox packages under /usr/bin/

    See https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MessageKey=396d1fc1-ecb6-45f4-ad80-22ffe3e4c88c&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer

    2) The AIX whereis command has pre-defined "bindirs". The /opt directory is not included in this array. 

    You can use the following options:

    a) 'which' script
    ksh or bash:# which python3
    /opt/freeware/bin/python3

    b) The ksh shell builtin 'whence'
    ksh: # whence python3
    /opt/freeware/bin/python3

    c)  The ksh shell builtin ' type'  (alias for whence -v)
    ksh: # type python3
    python3 is /opt/freeware/bin/python3

    d) If bash, use the builtin 'type'
    bash: type python3
    $ python3 is /opt/freeware/bin/python3




    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 15.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Tue May 10, 2022 02:07 AM
    Hi Jan Harris,

    I have upgraded my system from AIX7.1 to AIX 7.2 (7200-05-03-2148). In old OS AIX 7.1 I have configured yum repository and which is working fine in AIX 7.2 as well but the problem is it is using python 2.7 which have a security vulnerabilities so I have installed python3(3.7.4). Now both python2.7 and python3 exist on the system and I want to gracefully remove the python2.7 while keeping intact the yum repo but unfortunately when I tried yum remove python2.7.ppc it is removing all the dependencies and yum is removed as well. Can you help in this regard so that yum repo will be configured with python3.

    Thanks

    ------------------------------
    Faisal Malik
    ------------------------------



  • 16.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Tue May 10, 2022 10:36 AM
    Hello

    yum is python2 based. dnf or Dandified yum works with python3.


    Please see Sangamesh's blog:
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox for details.

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 17.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 04:17 PM
    Edited by Harley AIX Mon May 16, 2022 05:15 PM
    Hi,
    I tried to installed python, it installed fine like below..

    hfadwasps02:/root # oslevel -s
    7200-05-03-2148
    hfadwasps02:/root

    hfadwasps02:/tmp # rpm -ivh python3-3.7.9-1.aix6.1.ppc.rpm
    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:python3-3.7.9-1 ################################# [100%]
    hfadwasps02:/tmp # rpm -qa python
    python-2.7.10-1.ppc
    hfadwasps02:/tmp # rpm -qa python3
    python3-3.7.9-1.ppc
    hfadwasps02:/tmp # whereis python
    python: /usr/bin/python /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python2.7_64 /usr/bin/python2.7_64-config /usr/lib/python2.7 /usr/include/python2.7

    hfadwasps02:/root # echo $PATH
    /usr/java14_64/bin:/oracle/X01/112_64/lib:/oracle/X01/112_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/local/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/freeware/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin
    hfadwasps02:/root #

    hfadwasps02:/root # which python3
    /opt/freeware/bin/python3
    hfadwasps02:/root #

    But getting below error when do check python version..

    hfadwasps02:/root # python3 -V
    Could not load program python3:
    Could not load module /opt/freeware/lib64/libpython3.7m.so.
    Dependent module /usr/lib/libgcc_s.a(shr.o) could not be loaded.
    The module has an invalid magic number.
    Could not load module python3.7m_64.
    Dependent module /opt/freeware/lib64/libpython3.7m.so could not be loaded.
    hfadwasps02:/root # which python3
    /opt/freeware/bin/python3
    hfadwasps02:/root #


    hfadwasps02:/root # rpm -qa |sort
    AIX-rpm-7.2.5.101-15.ppc
    apr-1.4.6-1.ppc
    atk-2.20.0-3.ppc
    bash-5.0-1.ppc
    bash-doc-4.2-2.ppc
    bzip2-1.0.8-2.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.14.6-2waixX11.ppc
    curl-7.71.1-1.ppc
    db-5.3.28-1.ppc
    expat-2.2.9-2.ppc
    fontconfig-2.11.95-4.ppc
    freetype2-2.8-1.ppc
    gcc-4.2.0-3.ppc
    gdbm-1.18.1-1.ppc
    gdk-pixbuf-2.35.1-3waixX11.ppc
    gettext-0.20.2-1.ppc
    git-2.20.4-1.ppc
    glib2-2.56.1-3.ppc
    gtk2-2.24.30-3waixX11.ppc
    harfbuzz-1.2.7-2.ppc
    harfbuzz-devel-1.2.7-2.ppc
    info-6.6-2.ppc
    jbigkit-libs-2.1-1.ppc
    libXft-2.3.2-4waixX11.ppc
    libXrender-0.9.8-2waixX11.ppc
    libXrender-devel-0.9.8-2waixX11.ppc
    libffi-3.2.1-3.ppc
    libgcc-8-1.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-5.ppc
    libiconv-1.16-1.ppc
    libjpeg-9c-1.ppc
    libpng-1.6.34-1.ppc
    libstdc++-8-1.ppc
    libtextstyle-0.20.2-1.ppc
    libtiff-4.1.0-1.ppc
    libunistring-0.9.10-1.ppc
    libwebp-1.0.2-1.ppc
    libxml2-2.9.10-1.ppc
    lpar2rrd-agent-5.05-2.ppc
    lzo-2.10-1.ppc
    ncurses-6.2-2.ppc
    openssl-1.0.0d-3.ppc
    openssl-devel-0.9.7d-2.ppc
    openssl-doc-0.9.7d-2.ppc
    pango-1.40.1-2waixX11.ppc
    pixman-0.34.0-1.ppc
    pkg-config-0.29.2-2.ppc
    pysqlite-1.1.7-2.ppc
    python-2.7.10-1.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    python3-3.7.9-1.ppc
    readline-8.1-1.ppc
    renderproto-0.11.1-1.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.35.5-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    vim-X11-8.1.2424-1.ppc
    vim-common-8.1.2424-1.ppc
    vim-enhanced-8.1.2424-1.ppc
    vim-minimal-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-3.4.3-7.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zlib-1.2.11-2.ppc
    hfadwasps02:/root #

    Please let me know how to fix.

    Thanks,
    H-D AIX team.

    ------------------------------
    Harley AIX
    ------------------------------



  • 18.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 05:27 PM
    Could not load module /opt/freeware/lib64/libpython3.7m.so.
    Dependent module /usr/lib/libgcc_s.a(shr.o) could not be loaded.

    #echo LIBPATH

    Is it set? If so, see my earlier posts: 

    # unset LIBPATH
    ​​

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 19.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 05:46 PM

    Hi, 

    hfadwasps02:/root # echo LIBPATH
    LIBPATH
    hfadwasps02:/root # unset LIBPATH
    hfadwasps02:/root #
    hfadwasps02:/root # python3 -V
    Could not load program python3:
    Could not load module /opt/freeware/lib64/libpython3.7m.so.
    Dependent module /usr/lib/libgcc_s.a(shr.o) could not be loaded.
    The module has an invalid magic number.
    Could not load module python3.7m_64.
    Dependent module /opt/freeware/lib64/libpython3.7m.so could not be loaded.
    hfadwasps02:/root #

    Not sure what I am not doing correct.

    Thanks,
    H-D AIX team

    ------------------------------
    Harley AIX
    ------------------------------



  • 20.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 08:20 PM
    Actually I had a typo...
    It should have been:
    # echo $LIBPATH

    But you ran unset LIBPATH so that would be unset.

    Check the following:
    # ldd `which python3`
    Post the output.

    This should return:

    /opt/freeware/bin/python3 needs:
    /opt/freeware/lib64/libpython3.7m.so
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /usr/lib/libc.a(shr_64.o)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)

    and then run:
    # ldd  /opt/freeware/lib64/libpython3.7m.so
    Provide the output.

    NOTE:  You still have non-AIX Toolbox packages installed.

    openssl-1.0.0d-3.ppc
    gcc-4.2.0-3.ppc
    Maybe others, I'm not sure. As I explained before, these packages can cause conflict with AIX Toolbox packages.

    Check the output from the following.

    # rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}|%{BUILDHOST}\n'
    Check the packages that are not provided by any "ibm.com" build hosts. If the packages provide files also shipped in AIX fileset or AIX Toolbox packages, you should remove them.

    ​​​​

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 21.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 06:29 PM
    Hi, 
    I see, all those module are in /opt/freeware/lib

     libpython3.7m.so
    libgcc_s.a

    What to do to load them properly so that, python3 -V gives correct output.
    Thanks,
    H-D, AIX Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 22.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 08:53 PM
    Hi,

    hfadwasps02:/root # ldd `which python3`
    /opt/freeware/bin/python3 needs:
    /opt/freeware/lib64/libpython3.7m.so
    /opt/freeware/lib64/libexpat.a(libexpat.so.1)
    /opt/freeware/lib/libffi.a(libffi.so.6)
    /opt/freeware/lib64/libncurses.so
    /opt/freeware/lib64/libsqlite3.so
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /usr/lib/libc.a(shr_64.o)
    /usr/lib/libgcc_s.a(shr.o)
    ar: 0707-109 Member name shr.o does not exist.
    dump: /tmp/tmpdir7733654/extract/shr.o: 0654-106 Cannot open the specified file.
    /opt/freeware/lib64/libintl.a(libintl.so.8)
    /usr/lib/libpthread.a(shr_xpg5_64.o)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)
    /opt/freeware/lib/libiconv.a(libiconv.so.2)
    hfadwasps02:/root #
    hfadwasps02:/root #
    hfadwasps02:/root # ldd /opt/freeware/lib64/libpython3.7m.so
    /opt/freeware/lib64/libpython3.7m.so needs:
    /usr/lib/libgcc_s.a(shr.o)
    ar: 0707-109 Member name shr.o does not exist.
    dump: /tmp/tmpdir7733658/extract/shr.o: 0654-106 Cannot open the specified file.
    /usr/lib/libc.a(shr_64.o)
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /opt/freeware/lib64/libintl.a(libintl.so.8)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)
    /opt/freeware/lib/libiconv.a(libiconv.so.2)
    hfadwasps02:/root #


    hfadwasps02:/root # rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}|%{BUILDHOST}\n'
    apr-1.4.6-1.ppc|hfadwasps02
    gcc-4.2.0-3.ppc|hfadwasps02
    openssl-1.0.0d-3.ppc|hfadwasps02
    openssl-doc-0.9.7d-2.ppc|hfadwasps02
    vnc-3.3.3r2-6.ppc|hfadwasps02
    xft-2.1.6-5.ppc|hfadwasps02
    curl-7.71.1-1.ppc|pokndd10.pok.stglabs.ibm.com
    bash-5.0-1.ppc|pokndd5.pok.stglabs.ibm.com
    pysqlite-1.1.7-2.ppc|green52.in.ibm.com
    yum-metadata-parser-1.1.4-2.ppc|green52.in.ibm.com
    yum-3.4.3-7.noarch|fvt-p7a2-lp18.pok.stglabs.ibm.com
    python-tools-2.7.10-1.ppc|green52.in.ibm.com
    python-iniparse-0.4-1.noarch|green52.in.ibm.com
    python-2.7.10-1.ppc|green52.in.ibm.com
    libgcc-8-1.ppc|pokndd6.pok.stglabs.ibm.com
    libiconv-1.16-1.ppc|aix51.perzl.org
    libgomp-8-1.ppc|pokndd6.pok.stglabs.ibm.com
    ncurses-6.2-2.ppc|pokndd10.pok.stglabs.ibm.com
    libunistring-0.9.10-1.ppc|pokndd5.pok.stglabs.ibm.com
    xz-libs-5.2.5-1.ppc|pokndd5.pok.stglabs.ibm.com
    glib2-2.56.1-3.ppc|pokndd5.pok.stglabs.ibm.com
    renderproto-0.11.1-1.ppc|green52.in.ibm.com
    libXrender-0.9.8-2waixX11.ppc|pokndd5.pok.stglabs.ibm.com
    libpng-1.6.34-1.ppc|aix51.perzl.org
    freetype2-2.8-1.ppc|pokndd10.pok.stglabs.ibm.com
    fontconfig-2.11.95-4.ppc|pokndd10.pok.stglabs.ibm.com
    cairo-1.14.6-2waixX11.ppc|pokndd5.pok.stglabs.ibm.com
    harfbuzz-devel-1.2.7-2.ppc|pokndd5.pok.stglabs.ibm.com
    pango-1.40.1-2waixX11.ppc|pokndd5.pok.stglabs.ibm.com
    libjpeg-9c-1.ppc|aix51.perzl.org
    libwebp-1.0.2-1.ppc|pokndd5.pok.stglabs.ibm.com
    shared-mime-info-1.6-2.ppc|pokndd5.pok.stglabs.ibm.com
    gdk-pixbuf-2.35.1-3waixX11.ppc|pokndd10.pok.stglabs.ibm.com
    db-5.3.28-1.ppc|pokndd10.pok.stglabs.ibm.com
    info-6.6-2.ppc|pokndd10.pok.stglabs.ibm.com
    sqlite-3.35.5-1.ppc|pokndd10.pok.stglabs.ibm.com
    vim-X11-8.1.2424-1.ppc|pokndd10.pok.stglabs.ibm.com
    vim-minimal-8.1.2424-1.ppc|pokndd10.pok.stglabs.ibm.com
    swiagent-2020.2.6.20131-b5170e0.ppc|aus-bld-aix
    AIX-rpm-7.2.5.101-15.ppc|hfadwasps02
    bash-doc-4.2-2.ppc|hfadwasps02
    lpar2rrd-agent-5.05-2.ppc|hfadwasps02
    openssl-devel-0.9.7d-2.ppc|hfadwasps02
    xcursor-1.1.7-3.ppc|hfadwasps02
    xrender-0.9.1-3.ppc|hfadwasps02
    git-2.20.4-1.ppc|pokndd10.pok.stglabs.ibm.com
    ca-certificates-2016.10.7-2.ppc|pokndd5.pok.stglabs.ibm.com
    python-urlgrabber-3.10.1-1.noarch|green52.in.ibm.com
    python-pycurl-7.19.3-1.ppc|green52.in.ibm.com
    python-devel-2.7.10-1.ppc|green52.in.ibm.com
    libffi-3.2.1-3.ppc|pokndd10.pok.stglabs.ibm.com
    libgomp8-8.3.0-5.ppc|pokndd6.pok.stglabs.ibm.com
    libstdc++-8-1.ppc|pokndd6.pok.stglabs.ibm.com
    libtextstyle-0.20.2-1.ppc|pokndd10.pok.stglabs.ibm.com
    zlib-1.2.11-2.ppc|pokndd10.pok.stglabs.ibm.com
    libxml2-2.9.10-1.ppc|pokndd10.pok.stglabs.ibm.com
    gettext-0.20.2-1.ppc|pokndd10.pok.stglabs.ibm.com
    pkg-config-0.29.2-2.ppc|aixoss-automation-3.in.ibm.com
    libXrender-devel-0.9.8-2waixX11.ppc|pokndd5.pok.stglabs.ibm.com
    pixman-0.34.0-1.ppc|green52.in.ibm.com
    expat-2.2.9-2.ppc|pokndd10.pok.stglabs.ibm.com
    lzo-2.10-1.ppc|aix51.perzl.org
    harfbuzz-1.2.7-2.ppc|pokndd5.pok.stglabs.ibm.com
    libXft-2.3.2-4waixX11.ppc|pokndd5.pok.stglabs.ibm.com
    atk-2.20.0-3.ppc|pokndd5.pok.stglabs.ibm.com
    jbigkit-libs-2.1-1.ppc|pokndd5.pok.stglabs.ibm.com
    libtiff-4.1.0-1.ppc|pokndd10.pok.stglabs.ibm.com
    gtk2-2.24.30-3waixX11.ppc|pokndd10.pok.stglabs.ibm.com
    bzip2-1.0.8-2.ppc|pokndd10.pok.stglabs.ibm.com
    gdbm-1.18.1-1.ppc|pokndd5.pok.stglabs.ibm.com
    readline-8.1-1.ppc|pokndd10.pok.stglabs.ibm.com
    vim-common-8.1.2424-1.ppc|pokndd10.pok.stglabs.ibm.com
    vim-enhanced-8.1.2424-1.ppc|pokndd10.pok.stglabs.ibm.com
    python3-3.7.9-1.ppc|pokndd5.pok.stglabs.ibm.com
    hfadwasps02:/root #


    Thanks,
    H-D AIX team




    ------------------------------
    Harley AIX
    ------------------------------



  • 23.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Mon May 16, 2022 10:09 PM
    Edited by Jan Harris Tue May 17, 2022 02:40 PM
    These are from perzl:

    libiconv-1.16-1.ppc|aix51.perzl.org
    libpng-1.6.34-1.ppc|aix51.perzl.org
    libjpeg-9c-1.ppc|aix51.perzl.org
    lzo-2.10-1.ppc|aix51.perzl.org

    (this is not perzl swiagent-2020.2.6.20131-b5170e0.ppc|aus-bld-aix)

    These are from unknown origin:
    apr-1.4.6-1.ppc|hfadwasps02
    gcc-4.2.0-3.ppc|hfadwasps02
    openssl-1.0.0d-3.ppc|hfadwasps02
    openssl-doc-0.9.7d-2.ppc|hfadwasps02
    vnc-3.3.3r2-6.ppc|hfadwasps02
    xft-2.1.6-5.ppc|hfadwasps02
    bash-doc-4.2-2.ppc|hfadwasps02
    lpar2rrd-agent-5.05-2.ppc|hfadwasps02
    openssl-devel-0.9.7d-2.ppc|hfadwasps02
    xcursor-1.1.7-3.ppc|hfadwasps02
    xrender-0.9.1-3.ppc|hfadwasps02

    I suspect the /usr/lib/libgcc_s.a is from the gcc-4.2.0-3.ppc package.
    But something under all these dependencies setting other dependencies.
    (libiconv, openssl etc)

    It would probably easier for you to start with a clean slate (uninstall all the old packages, then reinstall DNF)




    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 24.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Tue May 17, 2022 11:41 AM
    Hi, 
    I understood that we may need to clean up and start over with DNF, but to do that, will take time for our environment. 
    For now what is the way to resolve this python installation error? Is there anyway we can download and install those dependencies to fix python installation or version output error? I can see all those lib were inside /opt/freeware/lib.
    Please let me know.
    Thanks,
    H-D AIX team

    ------------------------------
    Harley AIX
    ------------------------------



  • 25.  RE: configuring local YUM repo in AIX 7.2.5 server, getting errors

    Posted Tue May 17, 2022 03:01 PM
    Hello
    As I mentioned earlier, you have a lot of non-AIX Toolbox packages, some which are known to cause conflicts. You need to remove those.  There is something underneath in your environment, that is causing python3 to load this  /usr/lib/libgcc_s.a file.  There are probably other old dependencies too. If you just removed that file, it would likely cause failures for some of the other applications you had installed outside of the toolbox.



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------