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
Expand all | Collapse all

aws command failing after upgrading openSSH and openSSL

  • 1.  aws command failing after upgrading openSSH and openSSL

    Posted Fri December 22, 2023 03:39 AM

    Hi All,
    our aws help command is failing with following error after we have upgrade openSSHto is 9.2.112.2000   and openSSL  to 1.1.2.2000 

    post which our command is failing with following error 

    root@sanddatastagesr1:/home/root # aws --help
    exec(): 0509-036 Cannot load program /opt/freeware/bin/aws/bin/python because of the following errors:
            0509-130 Symbol resolution failed for /usr/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.

    following are the outputs for few generic checks 

    root@sanddatastagesr1:/home/root # rpm -qf /opt/freeware/lib/libsqlite3.so
    sqlite-3.32.3-1.ppc

    root@sanddatastagesr1:/home/root # lslpp -Lc rpm.rte
    #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date
    rpm.rte:rpm.rte:4.15.1.1006: : :C: :RPM Package Manager: : : : : : :0:0:/:



    ------------------------------
    Iqbal Singh
    ------------------------------


  • 2.  RE: aws command failing after upgrading openSSH and openSSL

    Posted Wed December 27, 2023 04:32 AM

    Hi

    • Do you have any value set for LIBPATH in your system environment . 
    • Capture the output of 'ldd /usr/lib/libpython2.7.so'.   

    Also, wanted to know, how do you install python in /opt/freeware/bin/aws/bin/ location ? 
    It will be good to 
    upgrade python to python3.9 and rebuild aws if it needs rebuilding with python3.9. 

    Thanks

    Ranjit



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