x86_64 10gR2 install on RHEL4 ES x86_64 fails
462992Oct 27 2005 — edited Aug 5 2009After getting the nice new x86_64 10gR2 release, I excitedly unpacked it and ran the installer (after just installing 10gR1 the other day). Everything went along nicely until it failed in linking 'INFO: - Linking liborasdkbase'. Operator error? It seems I had all the prerequisite packages installed. Also, I noticed there was a bin-utils bug noted earlier this year that generated the relocation R_X86_64_PC32 against `_memcpy_mem_ops_method' can not be used' message, but I have no idea if that is relevant here.
Two relevant sections of the installer log file:
1. First, just above the final failure, I noticed there was a gcc usage error on libsrvm generation:
INFO: /usr/bin/gcc -o libsrvm10.so -u Java_oracle_ops_mgmt_nativesystem_Native_getEnvironment -u Java_oracle_ops_mgmt_nativesystem_Native_getRDBMSVersion -u Java_oracle_ops_mgmt_nativesystem_UnixNative_startDaemon -u Java_oracle_ops_mgmt_nativesystem_UnixNative_validateRawDevice -u Java_oracle_ops_mgmt_nativesystem_UnixNative_getOracleGroup -u Java_oracle_ops_mgmt_nativesystem_UnixNative_getEffectiveGroup -h libsrvm10.so -shared /opt/oracle/product/10.2.0/db_1/srvm/lib/libsrvm10.a -L/opt/oracle/product/10.2.0/db_
INFO: 1/lib/ -L/opt/oracle/product/10.2.0/db_1/lib/ -L/opt/oracle/product/10.2.0/db_1/srvm/lib/ /opt/oracle/product/10.2.0/db_1/rdbms/lib/config.o -ldl -lm -lpthread -lnsl -lirc -Wl,-rpath,/opt/oracle/product/10.2.0/db_1/lib -lm -ldl -lm -lpthread -lnsl -lirc -lm -lm -L/opt/oracle/product/10.2.0/db_1/lib
INFO: gcc:
INFO: unrecognized option `-h'
INFO: /usr/bin/ld: /opt/oracle/product/10.2.0/db_1/lib//libirc.a(fast_memcpy.o): relocation R_X86_64_PC32 against `_memcpy_mem_ops_method' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
INFO: collect2: ld returned 1 exit status
INFO: mv -f /opt/oracle/product/10.2.0/db_1/lib/libsrvm10.so /opt/oracle/product/10.2.0/db_1/lib/libsrvm10.so0
INFO: mv: cannot stat `/opt/oracle/product/10.2.0/db_1/lib/libsrvm10.so'
INFO: mv -f libsrvm10.so /opt/oracle/product/10.2.0/db_1/lib/libsrvm10.so
INFO: : No such file or directory
make[1]: [isrvm] Error 1 (ignored)
2. And... then the error that killed the build was running genorasdksh:
INFO: - Linking liborasdkbase
INFO: /opt/oracle/product/10.2.0/db_1/bin/genorasdksh -base
INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
INFO: Generating BASE ORASDK library...
INFO: Creating /opt/oracle/product/10.2.0/db_1/lib/liborasdkbase.so.10.2
INFO: /usr/bin/ld: /opt/oracle/product/10.2.0/db_1/lib/libirc.a(fast_memcpy.o):
relocation R_X86_64_PC32 against `_memcpy_mem_ops_method' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
INFO: collect2: ld returned 1 exit status
INFO: /opt/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2