Unable to run ora_setup due to following errors on AIX:
orastst@stsh2b:/ststsw/oracle/admin>ora_setup
exec(): 0509-036 Cannot load program ora_setup because of the following
errors:
0509-150 Dependent module
/ststsw/oracle/product/9.2.0.6/lib/libclntsh.a(shr.o) could not be
loaded.
0509-103 The module has an invalid magic number.
orastst@stsh2b:/ststsw/oracle/admin>
Shareplex cannot allocate a good Oracle library file libclntsh.a from the directory $ORACLE_HOME/lib32 because this library file is corrupted or missing
Resolution1
1. Ensure that shared library pointing to ORACLE_HOME/lib32
cd /var/adm/.splex/V-5.1/lib9i
ls -l
libclntsh.a -> ORACLE_HOME/lib32/libclntsh.a
2. Ensure the $LIBPATH set to ORACLE_HOME/lib32
env|sort
LIBPATH=ORACLE_HOME/lib32
Resolution 2
1. Copy Oracle library file libclntsh.a from other same version of Oracle instance under $ORACLE_HOME/lib32
2. Shutdown Oracle and relink Oracle library file by executing relink all
3. Run ./ora_setup
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy