Home » Infrastructure » Linux » not able to install oracle on centos [network configuration settings] (Oracle 10g R2 [10.2.0.1.0] OS: Cent OS)
not able to install oracle on centos [network configuration settings] [message #522532] Mon, 12 September 2011 01:41 Go to next message
dkdms2124
Messages: 369
Registered: April 2010
Location: INDIA
Senior Member

Hi All,

I am not able to install Oracle on CENT OS, during the pre=requisite check, it gave me warning regarding the network configuration setting, I made it user-verified. Then it gave me error during the install at "Linking 'Oracle Net Required Support Files 10.2.0.1.0" for "Error in invoking 'client_sharedlib'.

As per suggested I checked the error in the log file in the oraInventory folder.

Below are the logs

Quote:

INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:

INFO: /u01/oracle/product/10.2.0/db_1/bin/genclntsh

INFO: /usr/bin/ld: skipping incompatible /u01/oracle/product/10.2.0/db_1/lib/libxml10.a when searching for -lxml10
/usr/bin/ld: cannot find -lxml10

INFO: collect2: ld returned 1 exit status

INFO: genclntsh: Failed to link libclntsh.so.10.1

INFO: make: *** [client_sharedlib] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'. See '/home/oracle/oraInventory/logs/installActions2011-09-12_05-02-53PM.log' for details.
Exception Severity: 1


I run following two commands to check error details:

uname -a
Quote:


[oracle@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[oracle@localhost ~]$



tail -15 $ORACLE_HOME/install/make.log

Quote:

[oracle@localhost ~]$ tail -15 $ORACLE_HOME/install/make.log
/usr/bin/ar rv /u01/oracle/product/10.2.0/db_1/lib/libn10.a /u01/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
(if [ "compile" = "binary" ] ; then \
/u01/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.c ;\
TARGET_BINARY_INTERFACE= ;\
export TARGET_BINARY_INTERFACE ;\
/usr/bin/gcc -c nnfgt.c ;\
-rm -f /u01/oracle/product/10.2.0/db_1/lib/nnfgt.o ;\
-mv nnfgt.o /u01/oracle/product/10.2.0/db_1/lib/ ;\
/usr/bin/ar rv /u01/oracle/product/10.2.0/db_1/lib/libn10.a /u01/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/oracle/product/10.2.0/db_1//u01/oracle/product/10.2.0/db_1/bin/genclntsh
/usr/bin/ld: skipping incompatible /u01/oracle/product/10.2.0/db_1/lib/libxml10.a when searching for -lxml10
/usr/bin/ld: cannot find -lxml10
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error 1
[oracle@localhost ~]$


I think "libclntsh.so.10.1" is missing, please help me out.

Thanks
Deepak

[Updated on: Mon, 12 September 2011 01:44]

Report message to a moderator

Re: not able to install oracle on centos [network configuration settings] [message #522533 is a reply to message #522532] Mon, 12 September 2011 02:09 Go to previous messageGo to next message
dkdms2124
Messages: 369
Registered: April 2010
Location: INDIA
Senior Member

On further checking the make.log in the install folder in ORACLE_HOME, I got following details

Quote:

/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/oracle/product/10.2.0/db_1//u01/oracle/product/10.2.0/db_1/bin/genclntsh
/usr/bin/ld: skipping incompatible /u01/oracle/product/10.2.0/db_1/lib/libxml10.a when searching for -lxml10
/usr/bin/ld: cannot find -lxml10
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error 1


But when I checked for the libmxl rpm, I got below mentioned results.

Quote:

[oracle@localhost ~]$ rpm -qa|grep libxml
libxml2-2.6.26-2.1.2.8.el5_5.1
libxml2-2.6.26-2.1.2.8.el5_5.1
libxml2-python-2.6.26-2.1.2.8.el5_5.1
libxml2-devel-2.6.26-2.1.2.8.el5_5.1
[oracle@localhost ~]$


Where actually is the mistake? Help will be really appreciated.

Thanks
Deepak
Re: not able to install oracle on centos [network configuration settings] [message #522535 is a reply to message #522533] Mon, 12 September 2011 04:14 Go to previous messageGo to next message
Flyby
Messages: 188
Registered: March 2011
Location: Belgium
Senior Member
Have a look at. Are you installing the 64-bit version on a 64-bit kernel or 32-bit oracle on a 32-bit kernel.
Re: not able to install oracle on centos [network configuration settings] [message #522538 is a reply to message #522535] Mon, 12 September 2011 04:45 Go to previous message
dkdms2124
Messages: 369
Registered: April 2010
Location: INDIA
Senior Member

Hey thanks for the reply, issue has been resolved "flyby" you got the point buddy. I have now installed the right version and its working fine.

Thanks n Regards
Deepak
Previous Topic: UDI-00014 error when IMPDP from HPUX to Linux
Next Topic: Scripting newbie: Change user to Oracle in startup script?
Goto Forum:
  


Current Time: Thu Mar 28 14:24:36 CDT 2024