IBM Support

AIX native commands: Member libiconv.so.2 is not found in archive

Troubleshooting


Problem

Error running suma:
# suma -l
Can't load '/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/LibXML/LibXML.so' for module XML::LibXML :
Could not load module /opt/freeware/lib/libxml2.a(libxml2.so.2).
Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
Member libiconv.so.2 is not found in archive

Cause

The LIBPATH was set to load the /opt/freeware/lib library path first.

# rpm -qa | grep iconv
libiconv-1.14-2.ppc
# rpm -q --provides libiconv-1.14-2.ppc
libcharset.a(libcharset.so.1)
libiconv = 1.14-2
libiconv.a(libiconv.so.2)

There is an open source libiconv.a package installed on the system.  This libiconv.a is loaded first.

Resolving The Problem

Use the system default LIBPATH to run AIX commands.

# unset LIBPATH
SUPPORT

If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.  

1.  Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2.  Capture any logs or data relevant to the situation.

3.  Contact IBM to open a case:

   -For electronic support, see the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, see the web page:
      https://www.ibm.com/planetwide/

4.  Provide a clear, concise description of the issue.

5.  If the system is accessible, collect a system snap, and upload all of the details and data for your case.

 - For guidance, see: Working with IBM AIX Support: Collecting snap data

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m50000000L0GzAAK","label":"RPMS: AIX Toolbox for Linux"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
30 March 2021

UID

ibm16178443