RE: Error during oracle install

From: Mark W. Farnham <mwf_at_rsiz.com>
Date: Thu, 15 May 2008 11:56:36 -0400
Message-ID: <025301c8b6a4$446f8470$1100a8c0@rsiz.com>


Could be lots of stuff, but mostly likely *guess warning* is a difference between the effective environment variables due to a difference between .login and .profile or the similar analogous operations in the various levels of subshells. For a starting point diagnostic, since the problem is cropping up in ins_sqlplus.mk, you can copy that (saving the original) and put some diagnostics in it to puke out your envirionment and variables before the error is reached. Then figure out where to fix it. Sometimes it is as simple as something being shelled when it should have been "dotted." Sometimes it is complicated, like permissions on symbolic links to the real locations so you can't reference the places even if the environment values look right. Have you got a sudo going on and you mean to do a -l?  

Hmm. I thought in 5.8 there were "64" references on the library directories for the 64 bit libraries, but it's been a while. Are you installing the 32-bit client on a 64-bit machine?  

Good luck.  


From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Khan, Muhammad S
Sent: Thursday, May 15, 2008 10:45 AM
To: Oracle L
Subject: Error during oracle install    

Hi Guyz,  

Its 64-bit SunOS 5.8 sparc, I'm installing Oracle 9.2 client. Everything goes well during the installing phase of the installation but during linking phase, I'm getting the following error as extracted from the logfile:  

Install logfile:


Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target install of makefile
/usr/vendor/oracle/client/9.2.0.6/sqlplus/lib/ins_sqlplus.mk

Exception Severity: 1    

Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target install of makefile
/usr/vendor/oracle/client/9.2.0.6/network/lib/ins_net_client.mk

Exception Severity: 1  

Make.log


ld: fatal: library -lclntsh: not found

ld: fatal: library -lm: not found

ld: fatal: File processing errors. No output written to sqlplus

  • Error code 1

make: Fatal error: Command faileld: fatal: library -lclntsh: not found  

ld: fatal: library -lm: not found

ld: fatal: library -lm: not found

ld: fatal: File processing errors. No output written to trcroute

make: Fatal error: *** Error code 1

Command failed for target `trcroute'd for target `sqlplus'  

/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib
ORACLE_HOME=/usr/vendor/oracle/client/9.2.0.6

/usr/vendor/oracle/client/9.2.0.6/bin/genclntsh

ld: fatal: library -lm: not found

ld: fatal: File processing errors. No output written to
/usr/vendor/oracle/client/9.2.0.6/lib/libclntsh.so.9.0


 

When the Oracle Net manager pops up, the tns entries are defined and tested successfully. I uninstalled/removed everything, changed the media, selected different options but the error remains same. The related environmental variables are as follows:  

LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/vendor/oracle/client/9.2.0.6/ lib

LIBPATH=/opt/CA/UnicenterSoftwareDelivery/usd/lib:/opt/CA/SharedComponents/l ib

PATH=/usr/vendor/oracle/client/9.2.0.6/bin:/usr/vendor/oracle/client/9.2.0.6
/Apache/Apache/bin:/usr/vendor/oracle/client/9.2.0.6/OPatch:/usr/local/sbin:
/usr/local/bin:/usr/openwin/bin:/usr/lib:/usr/sbin:/usr/bin:/usr/ccs/bin:/us
r/sadm/admin

TNS_ADMIN=/usr/vendor/oracle/client/9.2.0.6/network/admin

<snip>  

--
http://www.freelists.org/webpage/oracle-l
Received on Thu May 15 2008 - 10:56:36 CDT

Original text of this message