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
  • 1.  bash installation on AIX 6.1

    Posted Sun February 13, 2022 11:46 PM
    I tried to install bash 5.0.17-2 on AIX 6.1 but it failed with dependencies.

    AIX 6.1 TL09 SP06

    node111@/tmp/bash> oslevel -s
    6100-09-06-1543

    node111@/tmp/bash> ls -al
    total 109520
    drwxr-xr-x 4 root system 4096 Oct 29 07:38 .
    drwxrwxrwt 12 bin bin 4096 Oct 29 08:25 ..
    -rw-r----- 1 root system 3086898 Oct 26 12:01 bash-5.0.17-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 11305234 Oct 26 12:01 gettext-0.20.1-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 16506625 Oct 26 12:01 glib2-2.48.1-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 529497 Oct 26 12:01 info-6.7-4.aix6.1.ppc.rpm
    -rw-r----- 1 root system 43780 Oct 26 12:01 libffi-3.2.1-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 14468 Oct 26 12:01 libgcc-8-1.aix6.1.ppc.rpm
    -rw-r----- 1 root system 989549 Oct 26 12:01 libgcc8-8.4.0-3.aix6.1.ppc.rpm
    -rw-r----- 1 root system 1779162 Oct 26 12:01 libiconv-1.16-5.aix6.1.ppc.rpm
    -rw-r----- 1 root system 13933 Oct 26 12:01 libstdc++-8-1.aix6.1.ppc.rpm
    -rw-r----- 1 root system 12619532 Oct 26 12:01 libstdc++8-8.4.0-3.aix6.1.ppc.rpm
    -rw-r----- 1 root system 698663 Oct 26 12:01 libtextstyle-0.20.1-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 2580144 Oct 26 12:01 libunistring-0.9.10-1.aix6.1.ppc.rpm
    -rw-r----- 1 root system 1993031 Oct 26 12:01 libxml2-2.9.10-1.aix6.1.ppc.rpm
    -rw-r----- 1 root system 2703224 Oct 26 12:01 ncurses-6.2-2.aix6.1.ppc.rpm
    -rw-r----- 1 root system 735546 Oct 26 12:01 xz-libs-5.2.5-1.aix6.1.ppc.rpm
    -rw-r----- 1 root system 431111 Oct 26 12:01 zlib-1.2.11-5.aix6.1.ppc.rpm

    node111@/tmp/bash> rpm -ivh *.rpm
    error: failed dependencies:
    libgcc <= 9.1.0 conflicts with libgcc8-8.4.0-3
    rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by ncurses-6.2-2

    libgcc isn't installed in server ( rpm -qa showed there are no libgcc package)

    How can i resolve this issue ?

    Thanks.   SUL.

    ------------------------------
    HYUN CHUNG SUL
    ------------------------------

    #AIXOpenSource


  • 2.  RE: bash installation on AIX 6.1

    Posted Sun February 13, 2022 11:56 PM
    Open source ecosystem is have dependencies on other open source packages and all the dependencies needs to be installed to make it work. 
    dnf is the best way to install tools from AIX toolbox and resolve dependencies. 
    Otherwise you will have to keep finding the dependencies and installed them individually which is not recommended and it is cumbersome .

    ------------------------------
    SANKET RATHI
    ------------------------------