AIX

 View Only
Expand all | Collapse all

rsync getting old "libiconv.so.2 not found" error, after updating to version 3.2.7-1 (latest)

  • 1.  rsync getting old "libiconv.so.2 not found" error, after updating to version 3.2.7-1 (latest)

    Posted Mon March 27, 2023 09:24 AM

    Hello community, 

    we updated the AIX Toolbox RPMs on our AIX 7.3 SAP systems yesterday and now realized, that rsync version 3.2.7-1 is getting errors when running under SIDadm user environment. 

    h3pdb1:h3padm> rsync
    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

    We found out, that this was due to LIBPATH being explicitly set für SIDadm environment. Unsetting "LIBPATH" in SIDadm user environment makes rsync 3.2.7-1 run w/o errors. This symptom/error had been already fixed in version 3.2.3-1 (see AIX Open Source: Member libiconv.so.2 is not found in archive) and unfortunately has been re-invented in new version. Doing a "dnf downgrade rsync", installed version 3.2.3-1 again and error was gone :-)

    I wanted to share this information with you and also ask, how to get this info passed to the developers, that they can fix it?

    RGDS

    Matthias



    ------------------------------
    Matthias Lechner
    ------------------------------


  • 2.  RE: rsync getting old "libiconv.so.2 not found" error, after updating to version 3.2.7-1 (latest)

    Posted Mon March 27, 2023 12:26 PM

    Hi Matthias

    The hardcoded /opt/freeware/lib libpath for libiconv is missing in the latest version.

    We will fix this and upload the fixed version to AIX Toolbox.

    Any Toolbox related issues can be posted at AIX Open Source forum

    https://community.ibm.com/community/user/power/communities/community-home?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: rsync getting old "libiconv.so.2 not found" error, after updating to version 3.2.7-1 (latest)

    Posted Tue March 28, 2023 02:33 AM

    Hi Sangamesh,

    That's good news to hear. Thanks for quick response. 



    ------------------------------
    Matthias Lechner
    ------------------------------