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
  • 1.  Yum Bundle Dependency Problems

    Posted 01/16/19 10:56 AM

    Originally posted by: Danny Yarbrough


    Hi, all.

     

    I'm trying to install the Yum bundle on AIX 7.1 (ppc).  I'm trying to do this to be able to load the gtk2 dependencies needed by the IBM Install Manager.

     

    I installed rpm.rte.4.13.0.3 as the toolbox page said.

    I downloaded yum_bundle.tar from AIX Toolbox.

    I untarred it into a yum subdirectory.

    When I ran rpm -Uvh *.rpm, it told me I still needed some other libraries, libtcl and libtk. :-(

    I downloaded tcl-8.6.8-1.aix6.1.ppc.rpm from the Toolbox, added it to the yum directory.

    Now it says it needs libgcc.  Ok, cool, that's on Toolbox as well. Downloaded that, now I get this:

     

    root@b03cxnp46025:/home/yarbroug/yum> rpm -Uvh *.rpm
    error: Failed dependencies:
            AIX-rpm < 6.2.0.0 is needed by libgcc-6.3.0-2.ppc
            libgcc = 4.9.4-1 is needed by (installed) gcc-4.9.4-1.ppc
            libgcc = 4.9.4-1 is needed by (installed) libstdc++-4.9.4-1.ppc
            libtcl8.4.so is needed by python-2.7.10-1.ppc
            libtk8.4.so is needed by python-2.7.10-1.ppc

     

    So, now my AIX-rpm is too new?  I have AIX-rpm-7.1.4.31-8.ppc

     

    So, it seems I can't get there from here.

     

    What can I do to move this forward?

     

    Thanks!

     

    Danny


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: Yum Bundle Dependency Problems

    Posted 01/17/19 01:28 AM

    Originally posted by: AyappanP


    You took the libgcc meant for AIX 6.1.

    GCC is more OS dependent and that is the reason we have separate rpms for AIX 6.1 , AIX 7.1,  AIX 7.2 .

    I suggest you to follow this documentation here --> https://developer.ibm.com/tutorials/installing-and-configuring-gtk-on-aix/

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Yum Bundle Dependency Problems

    Posted 04/04/19 06:33 AM

    Originally posted by: CHARIN_KUMJUDPAI


    Hi Expert for AIX tools and rpm,

    My customer tried to install Python3 on AIX:7100-05-03-1838

    and downloaded all rpm dependencies packages are:

    [root@TEST02]# ls -ltr
    total 152296
    -rwxrwxrwx    1 root     system     39653687 Apr 03 23:27 python3-3.6.6-1.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system      7759122 Apr 04 11:43 sqlite-3.27.1-1.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system       221847 Apr 04 12:00 bzip2-devel-1.0.6-3.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system     10940004 Apr 04 12:01 db-6.2.32-2.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system      1593026 Apr 04 12:04 readline-7.0-5.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system       194714 Apr 04 12:09 gdbm-1.12-1.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system       157162 Apr 04 15:00 bzip2-1.0.6-3.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system        48312 Apr 04 15:14 libffi-3.2.1-3.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system       945065 Apr 04 15:14 libgcc-6.3.0-2.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system      3477827 Apr 04 15:14 ncurses-6.1-2.aix6.1.ppc.rpm
    -rwxrwxrwx    1 root     system     12959829 Apr 04 16:55 libstdcplusplus-6.3.0-2.aix6.1.ppc.rpm

    Once invoke rpm command to install "rpm -ivh *.rpm".

    error: Failed dependencies:
            AIX-rpm < 6.2.0.0 is needed by libgcc-6.3.0-2.ppc
            AIX-rpm < 6.2.0.0 is needed by libstdc++-6.3.0-2.ppc
            liblzma.a(liblzma.so.5) is needed by python3-3.6.6-1.ppc

    Here is the current version of "AIX-rpm,gcc and libstdc++" via "rpm -qa" command.

         - libstdc++-4.8.3-1.ppc
         - gcc-4.8.3-1.ppc
         - AIX-rpm-7.1.5.15-7.ppc   

    Please advice how to install to avoid the "error: Failed dependencies:" as above.

     

    Thanks.

     

     

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: Yum Bundle Dependency Problems

    Posted 04/05/19 03:23 AM

    Originally posted by: AyappanP


    As mentioned in the previous reply here, you need to have AIX 7.1 specific rpms for libgcc & libstdc++ .

    And you need to have "xz-libs" rpm as well ( which provides liblzma.a) . 


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: Yum Bundle Dependency Problems

    Posted 04/05/19 05:08 AM

    Originally posted by: CHARIN_KUMJUDPAI


    Hi AyappanP,

    Thank you for quick response.
        Let me inform customer to download the "xz-libs version 5.2.4" rpm file from URL: https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html
        and test install Python3 via "rpm -ivh *.rmp" agian.
            
        Will update result later.
        
    Thanks,
    CK.

        


    #AIX-Open-Source-Software
    #AIXOpenSource