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.  Latest update to rsync get liblz4 error

    Posted 05/07/26 10:28 PM

    After updating all rpms to latest rsync gets the following error.

    entering rsync with no parameters

    exec(): 0509-036 Cannot load program rsync because of the following errors:
            0509-150   Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
            0509-152   Member libiconv.so.2 is not found in archive

    If LIBPATH is set to /opt/freeware/lib then rsync with no parameters displays the help info.

    With libpath set, tryting to rsycnc to a remote system with same update level returns same error.  Error seems to be from the remote system.

    Setting the LIBPATH in /etc/environment on the remote system does not resolve the issue.

    Any help would be appreciated.

    JR



    ------------------------------
    Jim Rinn
    ------------------------------


  • 2.  RE: Latest update to rsync get liblz4 error

    Posted 05/08/26 02:30 AM
    Edited by Simon Klinner 05/08/26 02:33 AM

    Hi Jim,

    I can confirm a similar error after updating lz4 from 1.9.4 to 1.10.0. After the update, while trying rsync 3.4.1 to a remote system throws this error:

    #  rsync -a /tmp/testskdir SRV:/tmp
    exec(): 0509-036 Cannot load program rsync because of the following errors:
            0509-150   Dependent module /opt/freeware/lib64/liblz4.a(liblz4.so.1) could not be loaded.
            0509-152   Member liblz4.so.1 is not found in archive
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(232) [sender=3.4.1]


    After a downgrade to l4z 1.9.4 everything works fine again. 

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/lz4/

    [   ] lz4-1.9.4-1.aix7.1.ppc.rpm             2025-05-05 11:05  456K  
    [   ] lz4-1.10.0-1.aix7.1.ppc.rpm            2026-05-06 00:02  490K  

    Our current workaround is to downgrade l4z to version 1.9.4  and lock this version:

    # dnf downgrade lz4-1.9.4-1
    # dnf install 'dnf-command(versionlock)'
    # dnf versionlock list
    # dnf versionlock add lz4-1.9.4-1
    


    Kind regards
    Simon



    ------------------------------
    Simon Klinner
    ------------------------------



  • 3.  RE: Latest update to rsync get liblz4 error

    Posted 05/08/26 10:54 AM

    This problem is now fixed with recent lz4-1.10.0-2 release in AIX Toolbox. 



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



  • 4.  RE: Latest update to rsync get liblz4 error

    Posted 05/11/26 02:15 AM
    Edited by Simon Klinner 05/11/26 02:17 AM

    Hi Ayappan,

    thank you for the fast reaction! I can confirm lz4-1.10.0-2 solves the issue with rsync. Now everything works as expected again and I can revert the dnf versionlock on lz4.

    # rpm -q rsync lz4
    rsync-3.4.1-2.ppc
    lz4-1.10.0-2.ppc
    
    # rsync -av /tmp/testskdir SRV:/tmp
    sending incremental file list
    testskdir/
    
    sent 72 bytes  received 20 bytes  61.33 bytes/sec
    total size is 0  speedup is 0.00



    ------------------------------
    Simon Klinner
    ------------------------------



  • 5.  RE: Latest update to rsync get liblz4 error

    Posted 05/08/26 10:59 AM

    Which rsync rpm is installed ? (rpm -qi rsync) 
    Do you have LIBPATH set to /usr/lib ? 
    We don't recommend users to set any LIBPATH. 



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



  • 6.  RE: Latest update to rsync get liblz4 error

    Posted 05/08/26 11:35 AM
    Thanks for the info on lz4 and the instructions to lock the version.

    Installed dnf versionlock and downgraded and locked lz4 at 1.9 and the problem is resolved.

    This upgrade was done this week and the lz4-1.10.1 is what installed from the toolbox.

    No LIBPATH contains /usr/lib.

    Toolbox web page shows lz4 1.9.4.  
    dnf info lz4 shows lz4-1.10.0-1

    rsync-3.4.1-2.src.rpm

    JR