Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with libclntsh.sl (Oracle on HP-UX 11)

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi!

Working on HPUX-11, I created a shell script to execute a SQL script on Oracle.

script.sh:
------------//---------
su oracle -c 'env ORACLE_SID=XXXX ORACLE_HOME=/u01/app/oracle/product/8.0.5 /u01/
app/oracle/product/8.0.5/bin/svrmgrl command=@/home/oracle/myscript.sql'
-------------//--------

But when executing, this message appears:
-----------//---------------
/usr/lib/dld.sl: Can't open shared library: /project/805/src/rdbms/lib//libclntsh.sl
/usr/lib/dld.sl: No such file or directory
----------//----------------

My 'libclntsh.sl' file is at /u01/app/oracle/product/8.0.5/lib, and I set
LD_LIBRARY_PATH as $ORACLE_HOME/lib

What's wrong? Thanks.
 
Hi all,

I've just found my mistake: Instead of LD_LIBRARY_PATH, I must use SHLIB_PATH on HP-UX.

Thank you anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top