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.  Python installation error

    Posted Tue August 26, 2025 01:52 PM

    Hi Team,

    Getting below error after installed python on AIX 7.2 server (7200-05-09-2446). please assist to fix it

    root@:/ # python3 --version
    exec(): 0509-036 Cannot load program python3 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib64/libpython3.9.a[libpython3.9.so] because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 286) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 287) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-192 Examine .loader section symbols with the

                     'dump -Tv' command.

    Regards,

    Ramkumar



    ------------------------------
    Ram Kumar
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Python installation error

    Posted Wed August 27, 2025 03:42 AM

    Hi Team,

    please assist to fix the issue

    root@:/ # /opt/freeware/bin/dnf update
    exec(): 0509-036 Cannot load program /opt/freeware/libexec/python3.9_32 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib/libpython3.9.a(libpython3.9.so) because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 283) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 284) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    Regards,

    Ramkumar



    ------------------------------
    Ram Kumar
    ------------------------------



  • 3.  RE: Python installation error

    Posted Wed August 27, 2025 04:44 AM

    Hi Ram,

          Looks like gettext package is not installed in your system from AIX Toolbox.

          Please follow these steps:

          1)  export PATH=/opt/freeware/bin:$PATH
          2)  download the gettext package from AIX Toolbox. 
               (wget https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-0.21-2.aix7.1.ppc.rpm)
          3)  install this package through rpm. (rpm -ivh gettext-0.21-2.aix7.1.ppc.rpm)
          4)  run "dnf update" command.
             

    Thanks,



    ------------------------------
    Parth Patel
    ------------------------------



  • 4.  RE: Python installation error

    Posted Wed August 27, 2025 11:46 AM

    Hi Patel,

    Still we get the same error. please assist to fix it

    root@:/adm # rpm -ivh gettext-0.21-2.aix7.1.ppc.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
            package gettext-0.21-2.ppc is already installed

    root@:/ # python3 --version
    exec(): 0509-036 Cannot load program python3 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib64/libpython3.9.a[libpython3.9.so] because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 286) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 287) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    Regards,

    Ramkumar



    ------------------------------
    Ram Kumar
    ------------------------------



  • 5.  RE: Python installation error

    Posted Wed August 27, 2025 01:54 PM

    Hi Ram,

         Please share the output of below commands,
         1)  rpm -qa | sort
         2)  echo $PATH
         3)  echo $LIBPATH
     
         Could you please unset the LIBPATH if its sets, and try "dnf update".

    Thanks,



    ------------------------------
    Parth Patel
    ------------------------------



  • 6.  RE: Python installation error

    Posted Thu August 28, 2025 06:51 AM

    Hi Patel,

    please find the output

    root@:/ # rpm -qa | sort
    AIX-rpm-7.2.5.208-24.ppc
    bash-5.2.21-1.ppc
    bzip2-1.0.8-2.ppc
    ca-certificates-2024.2.66-2.ppc
    cairo-1.18.0-1waixX11.ppc
    check-0.15.2-1.ppc
    curl-8.14.1-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    db-5.3.28-1.ppc
    dnf-4.2.17-32_53.ppc
    dnf-automatic-4.2.17-32_53.ppc
    dnf-data-4.2.17-32_53.ppc
    expat-2.6.3-1.ppc
    expect-5.45.4-2.ppc
    fontconfig-2.14.2-1.ppc
    freetype2-2.13.3-1.ppc
    gdbm-1.23-1.ppc
    gettext-0.21-2.ppc
    glib2-2.83.2-1.ppc
    gmp-6.3.0-1.ppc
    gnupg2-2.4.7-1.ppc
    gnutls-3.8.7-1.ppc
    gpg-pubkey-41eea8e0-6800ac55
    gpgme-1.13.1-101.ppc
    grep-3.7-2.ppc
    gzip-1.12-3.ppc
    harfbuzz-7.1.0-1.ppc
    info-7.2-1.ppc
    json-c-0.17-1.ppc
    krb5-libs-1.21.3-3.ppc
    libXft-2.3.2-5waixX11.ppc
    libXrender-0.9.8-3waixX11.ppc
    libassuan-2.5.6-1.ppc
    libcomps-0.1.15-101.ppc
    libdnf-0.39.1-32_52.ppc
    libffi-3.4.4-2.ppc
    libgcc-13-2.ppc
    libgcc13-13.3.0-1.ppc
    libgcrypt-1.10.3-1.ppc
    libgomp-13-2.ppc
    libgomp13-13.3.0-1.ppc
    libgpg-error-1.51-1.ppc
    libiconv-1.17-1.ppc
    libksba-1.6.3-1.ppc
    libmodulemd-1.5.2-100.ppc
    libnghttp2-1.62.1-1.ppc
    libpng-1.6.42-1.ppc
    librepo-1.11.0-103.ppc
    libsmartcols-2.34-101.ppc
    libsolv-0.7.9-32_53.ppc
    libssh2-1.11.1-1.ppc
    libstdc++-13-2.ppc
    libstdc++13-13.3.0-1.ppc
    libtasn1-4.19.0-1.ppc
    libtextstyle-0.21-2.ppc
    libunistring-1.1-1.ppc
    libxml2-2.14.4-1.ppc
    libyaml-0.2.5-1.ppc
    libzstd-1.5.7-1.ppc
    lpar2rrd-agent-7.00-7.ppc
    lz4-1.9.4-1.ppc
    lzo-2.10-3.ppc
    ncurses-6.5-1.ppc
    nettle-3.10.1-1.ppc
    npth-1.5-1.ppc
    openldap-2.5.16-3.ppc
    p11-kit-0.25.5-2.ppc
    p11-kit-tools-0.25.5-2.ppc
    patch-2.8-1.ppc
    pcre-8.44-2.ppc
    pcre2-10.45-2.ppc
    pinentry-1.0.0-1.ppc
    pixman-0.42.2-1.ppc
    popt-1.19-1.ppc
    python3-3.9.23-1.ppc
    python3-dnf-4.2.17-32_53.ppc
    python3-gpg-1.13.1-101.ppc
    python3-hawkey-0.39.1-32_52.ppc
    python3-libcomps-0.1.15-101.ppc
    python3-libdnf-0.39.1-32_52.ppc
    python3-librepo-1.11.0-103.ppc
    python3.9-3.9.23-1.ppc
    python3.9-dnf-4.2.17-32_53.ppc
    python3.9-gpg-1.13.1-101.ppc
    python3.9-hawkey-0.39.1-32_52.ppc
    python3.9-libcomps-0.1.15-101.ppc
    python3.9-libdnf-0.39.1-32_52.ppc
    python3.9-librepo-1.11.0-103.ppc
    readline-8.2-1.ppc
    rpm-python3-4.15.1-32_2.ppc
    rpm-python3.9-4.15.1-32_2.ppc
    rsync-3.4.1-2.ppc
    sqlite-3.49.2-2.ppc
    tar-1.35-2.ppc
    tcl-8.6.13-1.ppc
    tk-8.6.13-1.ppc
    unzip-6.0-4.ppc
    wget-1.25.0-1.ppc
    xz-libs-5.8.1-1.ppc
    zchunk-libs-1.1.4-103.ppc
    zip-3.0-4.ppc
    zlib-1.2.13-1.ppc


    root@:/ # echo $PATH
    /opt/CA/WorkloadAutomationAE/autosys/csutils/bin:/opt/CA/WorkloadAutomationAE/autosys/csutils/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin:/usr/local/bin:/usr/local/sbin:/opt/CA/SharedComponents/bin:/usr/opt/ifor/ls/os/aix/bin:/opt/LicenseUseManagement/bin

    root@:/ # echo $LIBPATH
    /opt/CA/SharedComponents/Csam/SockAdapter/lib:/opt/CA/SharedComponents/Csam/SockAdapter/lib64:/opt/CA/SharedComponents/Csam/SockAdapter/lib:/opt/CA/SharedComponents/Csam/SockAdapter/lib64:/opt/CA/SharedComponents/lib:/opt/CA/CAlib

    Regards,

    Ramkumar



    ------------------------------
    Ram Kumar
    ------------------------------



  • 7.  RE: Python installation error

    Posted Fri August 29, 2025 10:10 AM

    Hi Patel/Team,

    please confirm Will there be any impact if unset LIBPATH? do we need to take backup before unset . also please assist steps to set back LIBPATH



    ------------------------------
    Ram Kumar
    ------------------------------



  • 8.  RE: Python installation error

    Posted Mon September 01, 2025 09:55 AM

    Hi Team,

    We unset the libpath but still we get the same error. please assist to fix it

    root@:/ # unset LIBPATH

    root@:/ # dnf update

    exec(): 0509-036 Cannot load program /opt/freeware/libexec/python3.9_32 because of the following errors:

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

    0509-136 Symbol _GLOBAL__AIXI_libintl_so (number 283) is not exported from

    dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).

    0509-136 Symbol _GLOBAL__AIXD_libintl_so (number 284) is not exported from

    dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).

    0509-192 Examine .loader section symbols with the

    'dump -Tv' command.

    root@:/ # echo $LIBPATH

    Regards,

    Ramkumar



    ------------------------------
    Ram Kumar
    ------------------------------