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 88Number 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 Not able to mount DAC after 10.6 installation or upgrade 4Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?