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
  • 1.  rsync command

    Posted Thu August 06, 2020 09:36 AM
    Dear Team ,

    I want to know rsync command installed in aix or not then how can i know . 
    if not installed then how can i installed in aix  server . 

    Regards 
    Saurabh

    ------------------------------
    LLMS Dept State Bank Of India
    ------------------------------


  • 2.  RE: rsync command

    Posted Fri August 07, 2020 04:06 AM
    rysnc for AIX is available in AIX Toolbox --> https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha
    Please use yum to install AIX Toolbox rpms. To configure yum in AIX, check out https://developer.ibm.com/technologies/systems/articles/configure-yum-on-aix


    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: rsync command

    Posted Fri August 21, 2020 10:50 PM
    Edited by SANKET RATHI Sat August 22, 2020 10:38 AM
    hi Ayappan,

    is that the only way to install the rsync, first you have to setup yum and then do the yum install?

    ------------------------------
    John C

    ------------------------------



  • 4.  RE: rsync command

    Posted Sat August 22, 2020 10:43 AM
    You can install using rpm command. Download rsync rpm and all its dependencies from AIX toolbox.
    https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha

    The problem is it is a tedious job to find all dependencies and download them and apply. YUM helps greatly for that hence we commend YUM.

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



  • 5.  RE: rsync command

    Posted Tue September 29, 2020 12:02 PM
    Hi Ayappan, I need to install rsync on an AIX 7.1 production server that has no access to IBM open source yum repository.  Using yum is not an option.  The only option is to go through the dependency nightmare of rpm -i, check for dependency, download the dependency to my laptop, upload the rpm to my AIX server and try to install with rpm -i only to find a dependency on the dependency.  As bad as the dependency chase is alone, how do we deal with the fact that a library exists but is actually an older version that won't support the package that needs to be installed as a depency for the rsync rpm?  For example, Trying to install rsync-3.2.3-1, I get the following:    
    rpm -i rsync-3.2.3-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    libcrypto.a(libcrypto.so.1.0.2) is needed by rsync-3.2.3-1.ppc
    libiconv >= 1.14 is needed by rsync-3.2.3-1.ppc
    libiconv.a(libiconv.so.2) is needed by rsync-3.2.3-1.ppc
    liblz4.a(liblz4.so.1) is needed by rsync-3.2.3-1.ppc
    lz4 >= 1.9.2 is needed by rsync-3.2.3-1.ppc
    ---Then----
    rpm -i lz4-1.9.2-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    libgcc >= 6.3.0 is needed by lz4-1.9.2-1.ppc
    ---But there is a version of libgcc already installed and a gcc compiler---
    lslpp -L | grep gcc
    gcc 4.2.0-3 C R GNU Compiler Collection
    libgcc 4.2.4-2 C R GCC version 4.2.4 shared

    So it looks like just for the lz4 dependency, I would need to install a newer version of libgcc.  I have no idea how this could impact the applications already running on this production server.  It's likely that the GCC compiler would no longer be functional, correct?  And, what about any applictions that were compiled with or use the runtime version of  the current GCC and/or use the current version of the libgcc library?  They may break as well? 

    So far I only tried to install 1 of the depencies for rsync that led to more dependencies that may cause applications to break.  I see this rabbit hole going very deep and complex with a real chance that the applications on this server break.  Is there any solution to this issue or should I simply not install rsync which the application team really needs to use?     





    ------------------------------
    Scott Monroe
    ------------------------------



  • 6.  RE: rsync command

    Posted Tue September 29, 2020 12:41 PM
    libgcc has a good backward compatibility. So i don't think updating libgcc to latest level will cause any issue. If you have libstdc++ also installed , you have to update that as well because both libgcc & libstdc++ goes in sync. libstdc++ also claims to have backward compatibility from version 3 onwards.

    As far as the other packages are concerned, we generally ship the older libraries inside the archive so that the other applications which relies on older libraries continue to work. 

    There are lot of dependent packages involved here. 
    libiconv-1.16-1.ppc
    gettext-0.19.8.1-5.ppc
    glib2-2.56.1-2.ppc
    libffi-3.2.1-3.ppc
    zlib-1.2.11-1.ppc
    libunistring-0.9.9-2.ppc
    info-6.6-2.ppc
    bash-5.0.18-1.ppc
    ncurses-6.2-2.ppc
    libxml2-2.9.9-1.ppc
    xz-libs-5.2.5-1.ppc
    libgcc-8.3.0-2.ppc

    You also need to install the latest openssl from AIX web download pack programs (run updtvpkg command after installation).

    Other option is to build rsync yourself in the machine by looking at our spec file --> https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/rsync-3.2.3-1.spec

    ------------------------------
    Ayappan P
    ------------------------------