- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: libclntsh.sl.8.0 not found in the library
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 09:44 PM
03-05-2003 09:44 PM
libclntsh.sl.8.0 not found in the library
procob18 ireclen=132 oreclen=132 select_error=no litdelim=quote mode=ans
i iname=rdbpgm0.pco oname=rdbpgm0.cbl
/usr/lib/dld.sl: Can't find path for shared library: libclntsh.sl.8.0
/usr/lib/dld.sl: No such file or directory
sh: 10915 Abort(coredump)
*** Error exit code 134
Stop.
==============================================
What can I do if this file is not found?
I have only "libclntsh.sl" and the .profile file is setting to SHLIB_PATH.
Thank for your prompt help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:05 PM
03-05-2003 10:05 PM
Re: libclntsh.sl.8.0 not found in the library
In our installations libclntsh.sl is a link to libclntsh.sl.8.0
I think you have to move libclntsh.sl to libclntsh.sl.8.0 and then link libclntsh.sl to libclntsh.sl.8.0
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:27 PM
03-05-2003 10:27 PM
Re: libclntsh.sl.8.0 not found in the library
lrwxrwxr-x 1 101 101 16 Feb 18 12:58 libclntsh.sl -> libcln
tsh.sl.8.0
-rw-r--r-- 1 101 101 9028 Mar 4 09:25 libclntst8.a
==============================================
My actual question is how to set up the LD_SHLIBRARY_PATH and SHLIB_PATH? it seems really it does not find the right PATH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:29 PM
03-05-2003 10:29 PM
Re: libclntsh.sl.8.0 not found in the library
First stop all Oracle processes including listener.
$cd $ORACLE_HOME/bin
$genclntsh(32 bit Oracle)
or
the eqv. for 64 bit
After generating relink using
$relink all
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:44 PM
03-05-2003 10:44 PM
Re: libclntsh.sl.8.0 not found in the library
cyb_hpux [ /cyborg/app/oracle/product/817/bin ] $ genclntsh
cat: Cannot open /tmp/clntst8.13627/*.nm: No such file or directory
Extracting from ...
sort: Cannot open /tmp/clntst8.13627/*.objs
usage: ar [-][mrxtdpq][ACTabcFfilsuvzS] [posname] archive files ...
ar: creating /cyborg/app/oracle/product/817/lib/libclntst8.a
Created /cyborg/app/oracle/product/817/lib/libclntst8.a
======================================
So, what is about the path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:50 PM
03-05-2003 10:50 PM
Re: libclntsh.sl.8.0 not found in the library
Set the SHLIB_PATH in the .profile of the User.
Be sure you have set the ORACLE_HOME before:
SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH
export SHLIB_PATH
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:04 PM
03-05-2003 11:04 PM
Re: libclntsh.sl.8.0 not found in the library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:10 PM
03-05-2003 11:10 PM
Re: libclntsh.sl.8.0 not found in the library
# Set Oracle Environment
ORACLE_HOME=/cyborg/app/oracle/product/817 ; export ORACLE_HOME
ORACLE_SID=dev3 ; export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH ; export SHLIB_PATH
PATH=$PATH:$ORACLE_HOME:$SHLIB_PATH ; export PATH
PATH=$PATH:$LD_LIBRARY_PATH:$ORACLE_HOME/bin ; export PATH
PATH=$PATH:$ORACLE_HOME/precomp/demo/procob ; export PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 12:37 AM
03-06-2003 12:37 AM
Re: libclntsh.sl.8.0 not found in the library
Please assist me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 01:59 AM
03-06-2003 01:59 AM
Re: libclntsh.sl.8.0 not found in the library
Is this dir available under $ORACLE_HOME/lib.
If this dir is available there then try running
$cd $ORACLE_HOME/lib
$$ORACLE_HOME/bin/genclntsh
My previous query was
Did you do any upgrade recently.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 02:41 AM
03-06-2003 02:41 AM
Re: libclntsh.sl.8.0 not found in the library
BTW, the directory is the error is created by genclntst. I think that the error refers to the fact that there are no files in the directory rather than the directory not existing and it is due to the fact that there is a bug in genclntst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 11:32 PM
03-06-2003 11:32 PM
Re: libclntsh.sl.8.0 not found in the library
relinking all the products by running :
gensyslib
genclntsh
cd $ORACLE_HOME/network/lib
make -f ins_network.mk install
cd $ORACLE_HOME/sqlplus/lib
make -f ins_sqlplus.mk install
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 05:39 AM
03-07-2003 05:39 AM
Re: libclntsh.sl.8.0 not found in the library
Cannot locate /lib/lib-L/opt/sna/lib.a nor /usr/lib/lib-L/opt/sna/lib.a.
Cannot install LU62 Protocol Adapter driver.
Cannot locate /opt/sna/lib/libappc.sl.
Cannot install LU62 Protocol Adapter driver.
Cannot locate /opt/sna/lib/libcsv.sl.
Cannot install LU62 Protocol Adapter driver.
Cannot locate /opt/sna/lib/libmgr.sl.
Cannot install LU62 Protocol Adapter driver.
========================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 01:41 AM
03-10-2003 01:41 AM
Re: libclntsh.sl.8.0 not found in the library
cyb_hpux [ /cyborg/app/oracle/product/817 ] $ echo $LD_LIBRARY_PATH
/cyborg/app/oracle/product/817/lib:/cyborg/app/oracle/product/817/lib:
cyb_hpux [ /cyborg/app/oracle/product/817 ] $ echo $SHLIB_PATH
/cyborg/app/oracle/product/817/lib:/opt/cobol/cobdir/coblib
This is my .profile file:
ORACLE_HOME=/cyborg/app/oracle/product/817 ; export ORACLE_HOME
TERM=vt220 ; export TERM
TNS_ADMIN=/etc ; export TNS_ADMIN
PATH=$PATH:$ORACLE_HOME/bin ; export PATH
# Set Cobol Environment
LPATH=/usr/lib:/opt/cobol/cobdir ; export LPATH
TMPDIR=/tmp ; export TMPDIR
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH ; export SHLIB_PATH
PATH=$PATH:/usr/bin:/usr/ccs/bin:/opt/cobol ; export PATH
PATH=$PATH:/opt/cobol/bin ; export PATH
PATH=$PATH:$LPATH:$SHLIB_PATH ; export PATH
============================================
Please I need you help.
cyb_hpux [ /cyborg/app/oracle/product/817 ] $ l -ltr $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle dba 34012064 Feb 18 14:08
/cyborg/app/oracle/pr
oduct/817/bin/oracle
cyb_hpux [ /cyborg/app/oracle/product/817 ] $ l -ltr lib/libclntsh.sl
lrwxrwxr-x 1 oracle dba 16 Feb 18 12:58 lib/libclntsh.sl ->
li
bclntsh.sl.8.0
==============================================
This the result after running a shell script "jcmprdb 0"
SCRIPT TO COMPILE rdbpgm0
*************************
jcmprdb 0 PROCESSING ...
procob18 ireclen=132 oreclen=132 select_error=no litdelim=quote
mode=ans
i iname=rdbpgm0.pco oname=rdbpgm0.cbl
/usr/lib/dld.sl: Can't find path for shared library: libclntsh.sl.8.0
/usr/lib/dld.sl: No such file or directory
sh: 6014 Abort(coredump)
*** Error exit code 134
Stop.
jcmprdb 0 COMPLETED
Press
JCMPRDB COMPLETED - rdbpgm0
***************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 02:35 AM
03-10-2003 02:35 AM
Re: libclntsh.sl.8.0 not found in the library
Change dir to $ORACLE_HOME/lib
try with:
ldd -s libclntsh.sl.8.0
to see references to other libraries within libclntsh.sl.8.0. It should find all the libraries, like in my installation:
find library=/usr/lib/libcl.2; required by libclntsh.sl.8.0
/usr/lib/libcl.2 => /usr/lib/libcl.2
find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1
find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by libclntsh.sl.8.0
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libm.2; required by libclntsh.sl.8.0
/usr/lib/libm.2 => /usr/lib/libm.2
find library=/usr/lib/libdld.2; required by libclntsh.sl.8.0
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libnss_dns.1; required by libclntsh.sl.8.0
/usr/lib/libnss_dns.1 => /usr/lib/libnss_dns.1
find library=/usr/lib/libdld.2; required by /usr/lib/libnss_dns.1
search path=/usr/lib (RPATH)
trying path=/usr/lib/libdld.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by /usr/lib/libnss_dns.1
search path=/usr/lib (RPATH)
trying path=/usr/lib/libc.2
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libpthread.1; required by libclntsh.sl.8.0
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
find library=/usr/lib/librt.2; required by libclntsh.sl.8.0
/usr/lib/librt.2 => /usr/lib/librt.2
find library=/logiciel/oracle/oracle_817/lib/libwtc8.sl; required by libclntsh.sl.8.0
/logiciel/oracle/oracle_817/lib/libwtc8.sl => /logiciel/oracle/oracle_817/lib/libwtc8.sl
find library=/usr/lib/libc.2; required by /logiciel/oracle/oracle_817/lib/libwtc8.sl
/usr/lib/libc.2 => /usr/lib/libc.2
If there's a "not found" or something like that, check the offending library, try to find it or post the result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 02:45 AM
03-10-2003 02:45 AM
Re: libclntsh.sl.8.0 not found in the library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 04:47 AM
03-10-2003 04:47 AM
Re: libclntsh.sl.8.0 not found in the library
cyb_hpux [ /cyborg/app/oracle/product/817/bin ] $ genclntsh
cat: Cannot open /tmp/clntst8.7515/*.nm: No such file or directory
Extracting from ...
sort: Cannot open /tmp/clntst8.7515/*.objs
usage: ar [-][mrxtdpq][ACTabcFfilsuvzS] [posname] archive files ...
ar: creating /cyborg/app/oracle/product/817/lib/libclntst8.a
Created /cyborg/app/oracle/product/817/lib/libclntst8.a
=============================================
However, this command is not successful:
cyb_hpux [ /cyborg/app/oracle/product/817/lib ] $ ldd -s libclntsh.sl.8.0
ldd: cannot open "libclntsh.sl.8.0".
ldd: No such file or directory
=============================================
cyb_hpux [ / ] $ find library=/usr/lib/libcl.2; required by libclntsh.sl.8.0
find: cannot stat library=/usr/lib/libcl.2
ksh: required: not found
============================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 05:43 AM
03-10-2003 05:43 AM
Re: libclntsh.sl.8.0 not found in the library
log on as oracle
cd $ORACLE_HOME/bin
cp genclntch mygenclntsh
edit mygenclntsh and insert a new line on line 2 with the contents "set -x" (without the quotes)
mygenclntsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 06:26 AM
03-10-2003 06:26 AM
Re: libclntsh.sl.8.0 not found in the library
Best regards,
Engo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 06:45 AM
03-10-2003 06:45 AM
Re: libclntsh.sl.8.0 not found in the library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 10:12 PM
03-10-2003 10:12 PM
Re: libclntsh.sl.8.0 not found in the library
Stop the instance and listener and then recreate LIBCLNTSH.SL.8.0:
1. Change the directory to ORACLE_HOME/bin
2.genclntsh64
3. Then relink : relink utilities
But before that make sure LD_LIBRARY_PATH/SHLIB_PATH variable are set properly. Form your profile they seems to be defined correctly. And also make sure there is enough space in /tmp directory. In the above answere from Yogeeraj there is described how to enable/disable the variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 10:28 PM
03-10-2003 10:28 PM
Re: libclntsh.sl.8.0 not found in the library
first of all befoe doing anything more, below are the log files :
cyb_hpux [ /cyborg/app/oracle/product/817/lib ] $ more clntsh.map
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libsql8.a loaded for -l
sql8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libpls8.a loaded for -l
pls8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libclient8.a loaded for
-lclient8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libldapclnt8.a loaded f
or -lldapclnt8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnbeq8.a loaded for -
lnbeq8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnhost8.a loaded for
-lnhost8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnus8.a loaded for -l
nus8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnldap8.a loaded for
-lnldap8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libldapclnt8.a loaded f
or -lldapclnt8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnsslb8.a loaded for
-lnsslb8 with "-a archive" not specified
ld: (Warning) Archive /cyborg/app/oracle/product/817/lib/libnlu628.a loaded for
-lnlu628 with "-a archive" not specified
ld: Can't find library: ":libappc.sl"
============================================
2. Size of /tmp directory :
cyb_hpux [ / ] # bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 2048000 1677265 348260 83% /tmp
There is enough space.
============================================
3. Relink utilities :
cyb_hpux [ /cyborg/app/oracle/product/817/bin ] $ relink utilities
- Linking Import utility (imp)
rm -f /cyborg/app/oracle/product/817/rdbms/lib/imp
cc -Wl,+s -Wl,+n -o /cyborg/app/oracle/product/817/rdbms/lib/imp -L/cyb
org/app/oracle/product/817/rdbms/lib -L/cyborg/app/oracle/product/817/lib -o /c
yborg/app/oracle/product/817/rdbms/lib/imp /cyborg/app/oracle/product/817/rdbms
/lib/impdrv.o /cyborg/app/oracle/product/817/rdbms/lib/ssdbaed.o /cyborg/app/ora
cle/product/817/rdbms/lib/defopt.o /cyborg/app/oracle/product/817/rdbms/lib/libd
btools8.a -lclntsh /cyborg/app/oracle/product/817/rdbms/lib/kpuadef.o `sed -e
's/-ljava//g' /cyborg/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -l
n8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /cyborg/app/oracle/product/817/lib/ldflags
` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8
-lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `sed -e 's/-ljava//g' /cybor
g/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed
-e 's/-ljava//g' /cyborg/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs
8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -l
core8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -l
nls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /cyborg/app/oracle/product/817/lib/
sysliblist` -lm
/usr/ccs/bin/ld: Can't find library: "clntsh"
*** Error exit code 1
Stop.
============================================
Question :
Possible some lib or object files are not correct on my installation.
Would you please check the size of the nautab.o file for me.
cyb_hpux [ /cyborg/app/oracle/product/817 ] $ l -l $ORACLE_HOME/lib/nautab.o
-rw-r--r-- 1 oracle dba 620 Feb 18 12:57
/cyborg/app/oracle/pro
duct/817/lib/nautab.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 12:23 AM
03-11-2003 12:23 AM
Re: libclntsh.sl.8.0 not found in the library
is 812 bytes (in 8.1.7)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 01:22 AM
03-11-2003 01:22 AM
Re: libclntsh.sl.8.0 not found in the library
Is the whole of the output posted? If so, can you post mygenclntsh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 04:12 AM
03-11-2003 04:12 AM
Re: libclntsh.sl.8.0 not found in the library
Sorry to come to you late.....
It seams that there was no space in /tmp directory.
Before concluding it, I'm busy to re-Install Oracle 8i Entreprise Edition and Oracle 8i Client without forgetting the precompiler.
I'll give you a feedback later..... Thanks for your help. You're STARS!!!!!
Best regards,
Engo.