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

Python v3 library installation failure due to dependent libraries not found

  • 1.  Python v3 library installation failure due to dependent libraries not found

    Posted Tue September 20, 2022 04:37 AM
    We got error when trying installing Python 3 libraries openblas. But we already installed those. By the way, we are using 'smitty installp' command. Should we use DNF or YUM instead?

    "Command: failed        stdout: yes           stderr: no

    Before command completion, additional instructions may appear below.

    geninstall -I "a -cgNqwXY -J"  -Z   -d . -f File 2>&1

    File:
        openblas

    Validating RPM package selections ...

    Please wait...

    +-----------------------------------------------------------------------------+
                               RPM  Error Summary:
    +-----------------------------------------------------------------------------+
    The following errors during installation occurred:
    error: Failed dependencies:
            libgcc >= 8.3.0 is needed by openblas-0.3.18-1.ppc
            libgfortran >= 8.3.0 is needed by openblas-0.3.18-1.ppc
            libgomp >= 8.3.0 is needed by openblas-0.3.18-1.ppc "

    But we already installed them:

    "+-----------------------------------------------------------------------------+
                               RPM  Error Summary:
    +-----------------------------------------------------------------------------+
    The following RPM packages were requested for installation
    but they are already installed or superseded by a package installed
    at a higher level:
    libgcc8-8.3.0-6.ppc is already installed.
    libgfortran8-8.3.0-6.ppc is already installed.
    libgomp8-8.3.0-6.ppc is already installed."

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Python v3 library installation failure due to dependent libraries not found

    Posted Tue September 20, 2022 06:12 AM
    Hello. Yes the AIX Toolbox team recommends using DNF to install and manage Open Source software packages and dependencies.
    Additionally, if you have gcc or other related dependencies from non-Toolbox sources, you might experience conflicts, so it is usually best to remove them.

    Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------