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

Python installation dependencies on an AIX lpar

  • 1.  Python installation dependencies on an AIX lpar

    Posted 01/03/20 12:53 PM

    Originally posted by: christophe41


    Hello,

    We have to install the rpm Python 2.7.16 version on a test AIX partition.

    Most of the requested packages have been successfully installed without using the    --nodeps   option.

    We install packages manually, we do not use YUM yet. 

     

    We still have 3 dependencies to solve.  A conflict between sqlite and nss...

     

    atxxi018(root) /home/derouet/python2716 #
    atxxi018(root) /home/derouet/python2716 # rpm -Uvh sqlite-3.28.0-1.aix6.1.ppc.rpm --test
    Preparing...                          ################################# [100%]
            file /opt/freeware/lib/libsqlite3.so from install of sqlite-3.28.0-1.ppc conflicts with file from package nss-3.13.2-1.ppc
            file /opt/freeware/lib/libsqlite3.a from install of sqlite-3.28.0-1.ppc conflicts with file from package nss-3.13.2-1.ppc
            file /opt/freeware/lib64/libsqlite3.so from install of sqlite-3.28.0-1.ppc conflicts with file from package nss-3.13.2-1.ppc
    atxxi018(root) /home/derouet/python2716 #
    atxxi018(root) /home/derouet/python2716 #
    atxxi018(root) /home/derouet/python2716 #
    atxxi018(root) /home/derouet/python2716 # rpm -qa | grep -i sqli
    atxxi018(root) /home/derouet/python2716 # rpm -Uvh python-2.7.16-1.aix6.1.ppc.rpm --test
    error: Failed dependencies:
            sqlite >= 3 is needed by python-2.7.16-1.ppc
            libcrypto.a(libcrypto.so.1.0.2) is needed by python-2.7.16-1.ppc
            libssl.a(libssl.so.1.0.2) is needed by python-2.7.16-1.ppc
    atxxi018(root) /home/derouet/python2716 #

     

    How can i solve the 3 dependencies so that i can  complete the 2.7.16 python installation ?

    I thank you very much for your help,

     

    Christophe

     

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Python installation dependencies on an AIX lpar

    Posted 01/06/20 12:36 AM

    Originally posted by: sanket


    We do not recommend to use -nodep option. 

    But looking at the error output first thing you need to update the openssl on AIX system.

    I think the current openssl library is not providing the required shared object (libcrypto.so.1.0.2)

    Please update the openssl from AIX web download. 


    #AIX-Open-Source-Software
    #AIXOpenSource