Shareplex for Oracle
Starting sp_cop or running ora_setup receive the Oracle client 32-bit libray errors such as:
libcntsh.so.9.0: wrong ELF class: ELFCLASS64
ibclntsh.so.10.1: wrong ELF class: ELFCLASS64
The error indicates an unexpected wrong Oracle client libraryis being loaded.
This error usually occurs when 64-bit library are being called when a 32-bit libraries are required and may not exist or not in the path.
To verify if theres more than one library that caused the error, do the following:
As any non-root user:
Verify that the linked library are set correctly, issued ldd -s sp_cop.
SUN:
# ldd -s sp_cop
AIX:
# dump -h sp_cop
(check in the path output)
DEC:
# odump -R sp_cop
(you can grep for Oracle due to the large amount of output)
HP-UX:
(on versions earlier than 11.0
# chatr sp_cop
(on version 11.0 and above can use either)
# chatr sp_cop
or
# ldd sp_cop
LINUX:
# ldd sp_cop
Sample output: trying path=/usr/lib/libclntsh.so.9.0
libclntsh.so.9.0 => /var/adm/.splex/V-4.5/lib9i/libclntsh.so.9.0 - wrong ELF class: ELFCLASS64
Above error indicated that a 64-bit library is being called while a 32-bin lib is required.
For SharePlex versions 5.x and below only:
Change directory to /var/adm/.splex/V-4.5/lib9i/ make sure that libclntsh.so.9.0 is linked to a 32 bit library.
$> cd /var/adm/.splex/V-4.5/lib9i/
$> ls -l
Your output should look something like below. If its not pointing to lib32, please relink your library.
libclntsh.so.9.0 -> /ora01/app/oracle/product/9.2.0.3/lib32/libclntsh.so
RESOLUTION 1:
1.Relink your library
RESOLUTION 2:
1. Copy a missing 32bit Oracle client library to $ORACLE_HOME/lib32 from another system that has it
SharePlex is a 32-Bit application whichcan be used on either 32-bit or 64-bit OS and Oracle Database but requieres, in this case, a 32-bit library to exist in the $ORACLE_HOME/lib32 directory
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center