We found an relink error when installing Oracle 9.2.0.7 on Solaris platform, the second time we found relink error for libsrvm module. However it did not report any error when just "relink oracle" or "relink client", just appear when you type "relink all" command. Detailed error messages listed here:
ld: fatal: file ${ORACLE_HOME}/lib/libskgxn9.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to libsrvm.so
*** Error code 1
make: Fatal error: Command failed for target `libsrvm.so'
I used "file" command to check the properties of file "${ORACLE_HOME}/lib/libskgxn9.so", found that it's an 64 bit library, while libsrvm.so is a 32 bit dynamic library, that's why the error is reported. So I make a small change to "env_rdbms.mk" under $ORACLE_HOME/srvm/lib directory as following:
# EXSYSLIBS = -lposix4 -lm -lskgxn9 #original line
EXSYSLIBS = -lposix4 -lm
Now it works well when I issue "make -f ins_rdbms.mk isrvm" command to compile the single module, and also works well when typing "relink all".
Comments (1)
Oracle should give the 32bit library file : libskgxn9.so
This is the root cause.
Posted by anysql | March 5, 2007 2:27 PM