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


#Servers
#Opensource
 View Only
  • 1.  Unable to launch python 3.9

    Posted 06/17/25 06:28 AM
    Edited by Sivakumar M 06/17/25 06:58 AM

    Hi Team

    We installed python 3.9 today in the AIX server which is running OS version AIX 7200-01-01-1642.
    We are getting the below error when we launch it
    Please give us the solution ASAP.

    root@goxsd3134:/
    $python3.9 --version
    exec(): 0509-036 Cannot load program python3.9 because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
            0509-150   Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2) could not be loaded.
            0509-022 Cannot load module /opt/freeware/lib/libiconv.a(libiconv.so.2).
            0509-026 System error: A file or directory in the path name does not exist.
            0509-022 Cannot load module python3.9.
            0509-150   Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.

    Also we got the below error when we installed " info-7.0.2-1.aix7.1.ppc.rpm "

    root@goxsd3134:/mnt/AIX/python
    $rpm -ivh info-7.0.2-1.aix7.1.ppc.rpm
    error: Failed dependencies:
            libiconv >= 1.17 is needed by info-7.0.2-1.ppc
            libiconv.a(libiconv.so.2) is needed by info-7.0.2-1.ppc
            libncurses.a(libncurses.so.6) is needed by info-7.0.2-1.ppc
            ncurses >= 6.3 is needed by info-7.0.2-1.ppc



    ------------------------------
    Sivakumar M
    ------------------------------


    #AIXOpenSource


  • 2.  RE: Unable to launch python 3.9

    Posted 06/18/25 10:09 AM

    Hi
    It's recommended to use dnf package manager to install packages so you don't have to manually run 'rpm' command on individual packages 
    For above case, you can install libiconv to resolve the failed dependencies.

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------