Re: Error during oracle install

  • From: "Bradd Piontek" <piontekdd@xxxxxxxxx>
  • To: Muhammad.Khan@xxxxxx
  • Date: Wed, 21 May 2008 11:00:59 -0500

Here are a few ideas:

libclntsh.a is built by oracle, is part of the oracle client. I'm assuming
that is missing because it can't find the Solaris 8 math libraries (libm.a).
Is that visible to you in /usr/lib ?

$ORACLE_HOME/install/make.log will show the true errors.

Have you verified that you have all the correct Solaris 8 Packages and
Patches installed?
Specifically SUNWlibm

Are you sure you have the 64-bit install?

$ORACLE_HOME/bin/relink client_sharedlib      - manually build libclntsh


On Wed, May 21, 2008 at 10:27 AM, Khan, Muhammad S <Muhammad.Khan@xxxxxx>
wrote:

>  I'd put up this problem some days ago. I'm still getting the same problem
> and its getting critical now.
>
>
>
> Can someone please suggest me how can I install the lclntsh and lm
> libraries which seem to be missing?
>
>
>
> Thanks
>
>
>  ------------------------------
>
> *From:* Blanchard William [mailto:William.Blanchard@xxxxxxxxxx]
> *Sent:* Thursday, May 15, 2008 10:52 MUHAMMAD
> *To:* Khan, Muhammad S; Oracle L
> *Subject:* RE: Error during oracle install
>
>
>
> You are missing the lclntsh and lm libraries.
>
>
>  ------------------------------
>
> *From:* oracle-l-bounce@xxxxxxxxxxxxx [mailto:
> oracle-l-bounce@xxxxxxxxxxxxx] *On Behalf Of *Khan, Muhammad S
> *Sent:* Thursday, May 15, 2008 9: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/lib
>
> 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:/usr/sadm/admin
>
> TNS_ADMIN=/usr/vendor/oracle/client/9.2.0.6/network/admin
>
>
>
> Now if I run sqlplus, I get the error: ld.so.1: sqlplus: fatal:
> libclntsh.so.9.0: open failed: No such file or directory
>
> Killed
>
>
>
> If I run tnsping , I get the error : ld.so.1: tnsping: fatal:
> libclntsh.so.9.0: open failed: No such file or directory
>
> Killed
>
>
>
> Can someone please point out where am I doing wrong or wut is missing here?
>
>
>
> Thanks a lot! Appreciate your suggestion.
>
>
>
> Khan
>
>
>



-- 
Bradd Piontek
Twitter: http://www.twitter.com/piontekdd
Oracle Blog: http://piontekdd.blogspot.com
Linked In: http://www.linkedin.com/in/piontekdd
Last.fm: http://www.last.fm/user/piontekdd/

Other related posts: