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
Last Modified: 2023-11-30
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 RSA ACE/Server processes fails with error: '/usr/lib/dld.sl: Can't find path for shared library: libsdxauthr.sl' 5Number of Views installation failed due to Error 1935 on RSA Authentication Agent 7.3 and 7.4 for Microsoft Windows 82Number of Views User Access Rule is not generating the Change Request due to open violations. 26Number of Views Identity Router Web Application Portal Login Issue 24Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme AFX Server and Remote Collection Agents fail to start after updating Java to version 1.8u241 (1.8.0_241) / 1.7u251 (1.7.0_… RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager 8.9 Setup and Configuration Guide
Don't see what you're looking for?