Error received when attempting to run ora_setup:
"/usr/lib/dld.sl: Bad magic number for shared library: /u01/app/oracle/product/10.2.0.2_rac/db_1/lib/libclntsh.sl.10.1
/usr/lib/dld.sl: Exec format error
Abort(coredump)"
Shareplex /var/adm/.splex/V-5.3/lib100 is linking to the oracle 32 bit library, however LD_LIBRARY_PATH or SHLIB_PATH is pointing to the 64bit library.
RESOLUTION 1:
Check and make sure /var/adm/.splex/V-5.3/lib100 is linking to the 32 bit oracle library.
Make sure that the SID in the oratab file matches the one set in the environment (along with Oracle_home)
Shareplex is a 32-bit application and it requires 32 bit libraries to function properly.
If LD_LIBRARY_PATH or SHLIB_PATH is set to 64bit oracle library, then unset this environment variable. Shareplex should use the correct library link from /var/adm/.splex and rerun ora_setup.
RESOLUTION2:
Make sure LD_LIBRARY_PATH or SHLIB_PATH should have lib32 in the path listed prior to lib.
for example:
On HP,
SHLIB_PATH=/opt/oracle/app/oracle/product/9.2.0/lib32:/opt/oracle/app/oracle/product/9.2.0/lib
On Sun,
LD_LIBRARY_PATH=/opt/oracle/app/oracle/product/9.2.0/lib32:/opt/oracle/app/oracle/product/9.2.0/lib
Rerun ora_setup.