Install oracle 10g client on RHEL5U1 error

From: Sailer <sailer.shen_at_gmail.com>
Date: Sat, 19 Jan 2008 01:38:41 -0800 (PST)
Message-ID: <ff90ba1a-bfd4-46e5-8098-73f36ea29bb3@1g2000hsl.googlegroups.com>


My box:
uname -a
Linux server 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

The log file installActions2008-01-18_02-45-15PM.log:

Starting install Link Phase of component Oracle Wallet Manager Starting install Link Phase of component Oracle Internet Directory Tools
Starting install Link Phase of component Oracle XML Developer's Kit Starting install Link Phase of component Pro*COBOL Calling Action unixActions10.1.0.3.0 make

        installMakePath = /usr/bin/make
        installMakeFileName = /xen/oracle/product/10.2/precomp/lib/
ins_precomp.mk
        installTarget = relink
        installArguments = ORACLE_HOME=/xen/oracle/product/
10.2,EXENAME=procob,
        undoMakeFileName = null
        undoTarget = null
        undoArguments = null
        logFile = /xen/oracle/product/10.2/install/make.log
        progMsg = Linking procob

The output of this make operation is also available at: '/xen/oracle/ product/10.2/install/make.log'

Start output from spawned process:



Linking /xen/oracle/product/10.2/precomp/lib/procob
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib//
libpls10.a when searching for -lpls10
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib/
libpls10.a when searching for -lpls10
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib/
libpls10.a when searching for -lpls10
/usr/bin/ld: cannot find -lpls10

collect2: ld returned 1 exit status
/bin/chmod: cannot access `/xen/oracle/product/10.2/precomp/lib/
procob': No such file or directory
make: *** [/xen/oracle/product/10.2/precomp/lib/procob] Error 1

End output from spawned process.



Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'relink' of makefile '/xen/ oracle/product/10.2/precomp/lib/ins_precomp.mk'. See '/xen/oracle/ oraInventory/logs/installActions2008-01-18_02-45-15PM.log' for details.

Tool Name: oracle net configuration assistant Detial:



Output generated from configuration assistant "Oracle Net Configuration Assistant":
UnsatisfiedLinkError exception loading native library: njni10 Exception in thread "main" java.lang.UnsatisfiedLinkError: jniGetOracleHome
        at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
        at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
        at oracle.net.common.NetProperties.<init>(Unknown Source)
        at oracle.net.common.NetProperties.getInstance(Unknown Source)
        at oracle.net.ca.CmdlineArgs.<init>(Unknown Source)
        at oracle.net.ca.InitialSetup.<init>(Unknown Source)
        at oracle.net.ca.NetCA.main(Unknown Source)
Configuration assistant "Oracle Net Configuration Assistant" failed

The file $ORACLE_HOME/install/make.log:

gcc -o oklist -L/xen/oracle/product/10.2/network/lib/ -L/xen/oracle/
product/10.2/lib/ -L/xen/oracle/product/10.2/lib/stubs/  /xen/oracle/
product/10.2/network/lib/snauk5pt.o /xen/oracle/product/10.2/network/
lib/s0nauk5l.o -lclntsh `cat /xen/oracle/product/10.2/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /xen/oracle/product/10.2/lib/ldflags` -lnsslb10 -lncrypt10 - lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 - lcommon10 -lgeneric10 -lmm -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /xen/oracle/product/10.2/lib/ldflags` - lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /xen/oracle/product/10.2/lib/ldflags` -lnsslb10 -lncrypt10 - lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 - lcommon10 -lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 - lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 - lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /xen/ oracle/product/10.2/lib/sysliblist` -Wl,-rpath,/xen/oracle/product/ 10.2/lib -lm `cat /xen/oracle/product/10.2/lib/sysliblist` -ldl - lm -L/xen/oracle/product/10.2/lib
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib//
libclntsh.so when searching for -lclntsh
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib/
libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh

collect2: ld returned 1 exit status
make: *** [oklist] Error 1
/usr/bin/make -f ins_ldap.mk clientonlyinstall ORACLE_HOME=/xen/oracle/
product/10.2/rm -f ldapadd ldapbind ldapcompare ldapdelete ldapmodify ldapsearch ldapmoddn ldapaddmt ldapmodifymt dsml2ldif Building client shared library libclntsh.so ... Call script /xen/oracle/product/10.2/bin/genclntsh ...
/xen/oracle/product/10.2/bin/genclntsh
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib/
libsql10.a when searching for -lsql10
/usr/bin/ld: cannot find -lsql10

collect2: ld returned 1 exit status
Built /xen/oracle/product/10.2/lib/libclntsh.so ... DONE gcc -o ldapadd -L/xen/oracle/product/10.2/ldap/lib/ -L/xen/oracle/ product/10.2/lib/ -L/xen/oracle/product/10.2/lib/stubs/ -o ldapadd - L/xen/oracle/product/10.2/ldap/lib/ -L/xen/oracle/product/10.2/lib/ -L/ xen/oracle/product/10.2/lib/stubs/ /xen/oracle/product/10.2/ldap/lib/
s0gslmod.o  -lncrypt10 /xen/oracle/product/10.2/lib/libldapclnt10.a  -
lldapclnt10 -lncrypt10 -lclntsh  `cat /xen/oracle/product/10.2/lib/
ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -
lnl10 -lnro10 `cat /xen/oracle/product/10.2/lib/ldflags` -lnsslb10 - lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lcore10 -lxml10 -lunls10 - lsnls10 -lnls10 -lcore10 -lnls10 `cat /xen/oracle/product/10.2/lib/ ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -
lnl10 -lnro10 `cat /xen/oracle/product/10.2/lib/ldflags`    -lnsslb10 -
lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10
-lvsn10 -lcommon10 -lgeneric10    -lcore10 -lxml10 -lunls10 -lsnls10 -
lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 - lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 - lnls10 `cat /xen/oracle/product/10.2/lib/sysliblist` -ldl -lm -Wl,- rpath,/xen/oracle/product/10.2/lib
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib//
libncrypt10.a when searching for -lncrypt10
/usr/bin/ld: skipping incompatible /xen/oracle/product/10.2/lib//
libncrypt10.a when searching for -lncrypt10
/usr/bin/ld: cannot find -lncrypt10

collect2: ld returned 1 exit status
make: *** [ldapadd] Error 1

What can I do? Received on Sat Jan 19 2008 - 03:38:41 CST

Original text of this message