AIX Open Source

 View Only
  • 1.  python issue

    Posted Tue May 10, 2022 07:30 AM
    hi we want to install the python on aix for this we have installed it.

    after installation we have created the symbolic link.

    as below

    ln -s /opt/freeware/bin/python3.9 /usr/bin/python

    from root when we executing the command as python -V

    root@horop2u01 / # python -V
    Python 3.9.6
    root@horop2u01 / #


    but from user open2

    it shows below message

    (open2@horop2u01)> python -V
    exec(): 0509-036 Cannot load program python because of the following errors:
    0509-130 Symbol resolution failed for /opt/freeware/lib64/libpython3.9.so because:
    0509-136 Symbol _GLOBAL__AIXI_libintl_so (number 286) is not exported from
    dependent module /usr/lib/libintl.a[libintl.so.8].
    0509-136 Symbol _GLOBAL__AIXD_libintl_so (number 287) is not exported from
    dependent module /usr/lib/libintl.a[libintl.so.8].
    0509-026 System error: Error 0
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    (open2@horop2u01)>


    please check and provide the solution for this.

    ------------------------------
    Mohammed Samiuddin
    ------------------------------


  • 2.  RE: python issue

    Posted Tue May 10, 2022 11:51 AM
    Edited by SANGAMESH MALLAYYA Tue May 10, 2022 11:50 AM
    Hi Mohammed,

    If you have any LIBPATH set then try running python3 without the LIBPATH.

    ------------------------------
    SANGAMESH
    ------------------------------