Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: libclntsh.so.1.0: cannot open shared object file (linux Red Hat install)
Greg,
Did you export the env variable? C-Shell does not differentiate between local and global variables.
Greg Caulton wrote:
> Unbelievable, finally past that error (5.21am)... gees I typed out
> this question in hopes of an answer - and my last line of
> troubleshooting seemed to work - so I'm going to post anyway in case
> anyone else gets stuck as I did!
>
> I recently purchased the Red Hat Linux (Kernel version 2.036),
> installed the custom setup onto my PC which included gcc c lib 2.07 -
> and overall meeting the requirements for the installation.
>
> I downloaded Oracle 8.0.5, uncompressed and extracted to a staging
> directory and then ran orainst, installed the majority of the products
> - it went fairly smoothly - certainly no errors and then I created a
> test database. Even the listener looks to be up and running.
>
> However, despite having the oracle account's env variable
> LD_LIBRARY_PATH = $ORACLE_HOME/lib I could not access svrmgrl or
> sqlplus - receiving in either case the error libclntsh.so.1.0: cannot
> open shared object file: No such file or directory The file does
> exist and I can access it (if I add that lib directory to my PATH I
> prove it - it doesn't run of course).
>
> As an act of desperation I did this!
> % /bin/csh
> % setenv LD_LIBRARY_PATH $ORACLE_HOME/lib
>
> ...and what do you know, the C shell wins the day...I was previously
> using /bin/sh
>
> later
>
> Greg
>
> gcaulton_at_sympatico.ca
--
Ronald Leedy Oracle Corp Applications Demonstration Services 500 Oracle Parkway voice: 1-650-506-5179 Redwood Shores, CA pager: 1-888-782-1831 94065 cell: 1-408-921-3042 rleedy_at_us.oracle.com
![]() |
![]() |