Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Pro*c and gcc - problem with libclntsh.so.1.0 ???
In article <38317fde.0_at_news.baltnet.ru>,
"Igor Oussoltsev" <uwd_at_uwd.baltnet.ru> 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 )
>
> 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 ?
>
I had the same problem. Now it's OK.
The problem was caused by invalid LD_LIBRARY_PATH.
LD_LIBRARY_PATH must contain $ORACLE_HOME/lib.
Try to check LD_LIBRARY_PATH.
Alex
> Igor Oussoltsev, DBA
> Oussoltsev_at_uwd.baltnet.ru
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 17 1999 - 01:03:00 CST