FAQ
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/SharedComponen
ts/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/loc
al/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

Search Discussions

  • Blanchard William at May 15, 2008 at 2:52 pm
    You are missing the lclntsh and lm libraries.

    From: oracle-l-bounce_at_freelists.org
    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/SharedComponen
    ts/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/loc
    al/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
  • Khan, Muhammad S at May 21, 2008 at 3:27 pm
    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
    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_at_freelists.org
    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/SharedComponen
    ts/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/loc
    al/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 at May 21, 2008 at 4:00 pm
    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
    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
    *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_at_freelists.org [mailto:
    oracle-l-bounce@freelists.org] *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/

    --
    http://www.freelists.org/webpage/oracle-l
  • David Lord at May 21, 2008 at 4:09 pm
    Khan,

    My guess is that its a problem with the setting of one or other of
    your environment variables. In particular, I would suggest

    checking the instructions for setting environment variables in the
    installation docs
    (http://download.oracle.com/docs/html/A96167_01/pre.htm#sthref228)

    don't set LD_LIBRARY_PATH, its usually an accident waiting to
    happen in my experience.

    Regards
    David Lord

    2008/5/21 Khan, Muhammad S :
    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

    Khan
    --
    http://www.freelists.org/webpage/oracle-l
  • Khan, Muhammad S at May 21, 2008 at 5:28 pm
    Hi David,

    (a) Here are my relevant environment variables:

    MANPATH=/usr/local/man:/usr/bin/man:/usr/share/man:/usr/openwin/man:/usr
    /dt/man

    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/loc
    al/sbin:/usr/local/bin:/usr/openwin/bin:/usr/lib:/usr/sbin:/usr/bin:/usr

    /ccs/bin:/usr/sadm/admin/bin:/usr/ucb
    ORACLE_BASE=/usr/vendor/oracle
    LIBPATH=/opt/CA/UnicenterSoftwareDelivery/usd/lib:/opt/CA/SharedComponen
    ts/lib
    ORACLE_DOC=/usr/vendor/oracle/client/9.2.0.6/doc
    TNS_ADMIN=/usr/vendor/oracle/client/9.2.0.6/network/admin
    LD_LIBRARY_PATH_64=/usr/vendor/oracle/client/9.2.0.6/lib
    LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/vendor/oracle/client/9.2.
    0.6/lib
    ORACLE_HOME=/usr/vendor/oracle/client/9.2.0.6

    (b) I'm confused about your opinion of LD_LIBRARY_PATH. I've clearly
    read at many places that it should be set to $ORACLE_HOME/lib to avoid
    any error during install.

    Thanks,
    Khan
    -----Original Message-----
    From: David Lord
    Sent: Wednesday, May 21, 2008 12:09 MUHAMMAD
    To: Khan, Muhammad S
    Cc: Blanchard William; Oracle L
    Subject: Re: Error during oracle install

    Khan,

    My guess is that its a problem with the setting of one or other of
    your environment variables. In particular, I would suggest

    checking the instructions for setting environment variables in the
    installation docs
    (http://download.oracle.com/docs/html/A96167_01/pre.htm#sthref228)

    don't set LD_LIBRARY_PATH, its usually an accident waiting to
    happen in my experience.

    Regards
    David Lord

    2008/5/21 Khan, Muhammad S :
    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

    Khan
    --
    http://www.freelists.org/webpage/oracle-l
  • David Lord at May 21, 2008 at 5:49 pm
    Khan,

    ld is failing to find the library. So either its not there, which is
    unlikely as long as you're using the right installation media, or it
    can't find it because the path its using is messed up. I do a lot of
    oracle installations and I generally find the best way to proceed is
    to do exactly what the official docs tell you to do *and no more*, at
    least in the first instance. They don't tell you to set
    LD_LIBRARY_PATH or LD_LIBRARY_PATH_64 so why don't you try unsetting
    them and seeing if it fixes the problem?

    Regards
    David Lord

    2008/5/21 Khan, Muhammad S :
    Hi David,

    (a) Here are my relevant environment variables:

    MANPATH=/usr/local/man:/usr/bin/man:/usr/share/man:/usr/openwin/man:/usr
    /dt/man
    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/loc
    al/sbin:/usr/local/bin:/usr/openwin/bin:/usr/lib:/usr/sbin:/usr/bin:/usr
    /ccs/bin:/usr/sadm/admin/bin:/usr/ucb
    ORACLE_BASE=/usr/vendor/oracle
    LIBPATH=/opt/CA/UnicenterSoftwareDelivery/usd/lib:/opt/CA/SharedComponen
    ts/lib
    ORACLE_DOC=/usr/vendor/oracle/client/9.2.0.6/doc
    TNS_ADMIN=/usr/vendor/oracle/client/9.2.0.6/network/admin
    LD_LIBRARY_PATH_64=/usr/vendor/oracle/client/9.2.0.6/lib
    LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/vendor/oracle/client/9.2.
    0.6/lib
    ORACLE_HOME=/usr/vendor/oracle/client/9.2.0.6

    (b) I'm confused about your opinion of LD_LIBRARY_PATH. I've clearly
    read at many places that it should be set to $ORACLE_HOME/lib to avoid
    any error during install.

    Thanks,
    Khan
    --
    http://www.freelists.org/webpage/oracle-l
  • Rich Jesse at May 21, 2008 at 6:00 pm
    I thought that LIBPATH and LD_LIBRARY_PATH were platform-specific and
    mutually exclusive. By it's value, it seems obvious that LIBPATH isn't
    needed to install the Oracle client. Try unsetting it and installing.

    Are you using Sun's default compiler/linker, gcc, or other? Examine the
    documentation for it's prereqs to see if yours qualifies.

    If this truly is critical, you'll want to open an SR with Oracle Support.

    HTH! GL!

    Rich
    Hi David,

    (a) Here are my relevant environment variables:

    MANPATH=/usr/local/man:/usr/bin/man:/usr/share/man:/usr/openwin/man:/usr
    /dt/man
    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/loc
    al/sbin:/usr/local/bin:/usr/openwin/bin:/usr/lib:/usr/sbin:/usr/bin:/usr
    /ccs/bin:/usr/sadm/admin/bin:/usr/ucb
    ORACLE_BASE=/usr/vendor/oracle
    LIBPATH=/opt/CA/UnicenterSoftwareDelivery/usd/lib:/opt/CA/SharedComponen
    ts/lib
    ORACLE_DOC=/usr/vendor/oracle/client/9.2.0.6/doc
    TNS_ADMIN=/usr/vendor/oracle/client/9.2.0.6/network/admin
    LD_LIBRARY_PATH_64=/usr/vendor/oracle/client/9.2.0.6/lib
    LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/vendor/oracle/client/9.2.
    0.6/lib
    ORACLE_HOME=/usr/vendor/oracle/client/9.2.0.6

    (b) I'm confused about your opinion of LD_LIBRARY_PATH. I've clearly
    read at many places that it should be set to $ORACLE_HOME/lib to avoid
    any error during install.
    --
    http://www.freelists.org/webpage/oracle-l
  • Mark W. Farnham at May 15, 2008 at 3:56 pm
    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
    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
  • Mercadante, Thomas F (LABOR) at May 15, 2008 at 4:17 pm
    Khan,


    I have the following environmentals on my Solaris machine. It is for
    the database and not the client, but it may be the same.


    export LD_LIBRARY_PATH_64=$ORACLE_HOME/lib:/usr/lib
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:/usr/lib

    Tom



    From: 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/SharedComponen
    ts/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/loc
    al/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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
categoriesoracle
postedMay 15, '08 at 2:45p
activeMay 21, '08 at 6:00p
posts10
users7
websiteoracle.com

People

Translate

site design / logo © 2022 Grokbase