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.
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.