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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 8.0.5 on LINUX - Shared library problem

Re: Oracle 8.0.5 on LINUX - Shared library problem

From: Morten Toftgaard Jensen <mtj_at_systemate.dk>
Date: Tue, 9 Feb 1999 13:24:52 +0100
Message-ID: <36c02923.0@news.euroconnect.dk>


Hi There

Have you tried setting the LD_LIBRARY_PATH env. variable to point to your $ORACLE_HOME/lib

The problem looks a lot like one I had once, when not setting the above variable.

P.S: Did you ask the Oracle installer to create the client libaries? (I'm not sure whether it asks during install on Linux - but it does on Digital Unix and AIX) If not you should be able to find a make file somewhere (I don't recall exactly where) for building the libaries.

Hope this helps.

Regards,

Morten Toftgaard Jensen
Aalborg, Denmark
mtj_at_stofanet.dk

Lars Bo Vanting wrote in message <36c01f46.0_at_hebel.rol3.com>...
>I've installed Oracle 8.0.5 on
>
>my Red Hat 5.2 Linux and the installation was OK (no errors in install log
>files nor during the installation on the screen).
>
>I get the following error when starting oracle executables such as svrmgrl,
>orapwd etc.:
>orapwd: error in loading shared libraries
>
>libclntsh.so.1.0: cannot open shared object file: No such file or directory
>
>Here are some informations:
>
>[root_at_lbv1 lib]# pwd
>
>/opt/oracode/oracle/lib
>
>[root_at_lbv1 lib]# ls -l libcl*
>
>-rwxr-xr-x 1 oracle dba 2421440 Sep 30 07:44 libclient.a
>
>lrwxrwxrwx 1 root root 16 Feb 9 12:29 libclntsh.so -> libclntsh.so.1.0
>
>-rwxr-xr-x 1 oracle dba 4357729 Feb 9 10:08 libclntsh.so.1.0
>
>[root_at_lbv1 lib]# set |grep ORA
>
>ORACLE_BASE=/opt/oracode
>
>ORACLE_HOME=/opt/oracode/oracle
>
>ORACLE_SID=LBV
>
>[root_at_lbv1 lib]# exho $PATH
>
>bash: exho: command not found
>
>[root_at_lbv1 lib]# echo $PATH
>
>.:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/lbv/bin:/home/oracle/bi
n
>:/opt/oracode/oracle/bin:/home/lbv/bin:/opt/oracode/oracle/lib
>
>[root_at_lbv1 lib]#
>
>As seen from the above there is a symbolic link from the missing file, so
>why doesn't it work?
>Does anybody have a hint? Thanks in advance
>
>Kind regards
>
>Lars Bo Vanting
>lars_bo_at_NOSPAM.vanting.com
>
>
Received on Tue Feb 09 1999 - 06:24:52 CST

Original text of this message

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