Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*c and gcc - problem with libclntsh.so.1.0 ???

Re: Pro*c and gcc - problem with libclntsh.so.1.0 ???

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Wed, 17 Nov 1999 07:33:46 -0500
Message-ID: <aKAyOGJIba64EQEwV6=S3wlNm=jB@4ax.com>


A copy of this was sent to "Igor Oussoltsev" <uwd_at_uwd.baltnet.ru> (if that email address didn't require changing) On Tue, 16 Nov 1999 17:31:33 +0200, you wrote:

>Hi, alls!
>
>My problem is to compile pro*c files with gcc 2.8
>on Sparc Solaris 2.7 ( Enterprise 450 ), Oracle 7.3.3
>
>Compilation is passing without errors,
>but when I'm trying to execute file (sample1), I see:
>
> ld.so.1: sample1: fatal: libclntsh.so.1.0: open failed: No such file or
>directory
> Killed
>
>( libclntsh.so.1.0 is present in $ORACLE_HOME/lib directory )
>

Is $ORACLE_HOME/lib in your LD_LIBRARY_PATH environment variable? Alternatively, link with the flag:   

  -R$(ORACLE_HOME)/lib

to burn the location of libclntsh.so.1.0 into the binary.

>I'd trying different "proc.mk" and "env_precomp.mk" variant (and got
>diff.size executables),
>but result - the same
>
>Where can I take information ?
>Can anybody help ?
>
>Igor Oussoltsev, DBA
>Oussoltsev_at_uwd.baltnet.ru
>
>
>
>

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Nov 17 1999 - 06:33:46 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US