Unable to compile OneStep plugin on Solaris with error 'gcc: fatal: /usr/local/lib/libiconv.so.2: wrong ELF data format: ELFDATA2LSB'
Originally Published: 2008-09-10
Article Number
Applies To
RSA Certificate Manager OneStep 6.8
Sun Solaris 10
GCC
Issue
The following error shows when attempting to compile a custom OneStep plug-in on Solaris:
ld.so.1: gcc: fatal: /usr/local/lib/libiconv.so.2: wrong ELF data format: ELFDATA2LSB
Cause
Resolution
Workaround
#/usr/local/bin/gcc -fPIC -c -g -DUNIX -DSOLARIS -DPSODEBUG -I. -I/opt/mywork/OneStep/include -I/opt/mywork/OneStep/myonestep/source/rcm_api/include -c mycode.c -o mycode.o
Related Articles
RCM installation fails with error 'Unable to load crypto provider : pkcs11v2 /usr/lunasa/lib/libCryptoki2_64.so' and '[Xrc… 43Number of Views '-bash: /usr/sbin/sesh: No such file or directory' error when starting RSA Identity Governance & Lifecycle 87Number of Views How to fix error "-bash: /usr/bin/Check_Instance_Running.sh: /bin/ksh: bad interpreter: No such file or directory" while i… 60Number of Views RSA ACE/Server processes fails with error: '/usr/lib/dld.sl: Can't find path for shared library: libsdxauthr.sl' 5Number of Views Provide an Offline Emergency Access Tokencode 119Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA-2026-07: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?