1 Reply Latest reply: Sep 25, 2009 4:21 AM by 699437 RSS

    Shared Library

    699437
      Hi,

      I wrote a bourne shell script to execute a program, which makes access to Oracle 11g database when a user login with his/her username and password to avoid using a shell. This is the error message I get:

      test: error while loading a shared libraries: libclntsh.so.11.1: cannot open shared object file: no such file or directory. I can run the program from the command like using another user account with any problem.

      Here is the script

      #!/bin/sh
      ORACLE_TERM=linux
      export ORACLE_TERM
      ORACLE_BASE=/u02/app/oracle
      export ORACLE_BASE
      ORACLE_HOME=/u02/app/oracle/product/11.1.0/db1
      export ORACLE_HOME
      ORACLE_SID=smad
      export ORACLE_SID
      LIB=$ORACLE_HOME/lib
      export LIB
      PATH=$ORACLE_HOME/bin:.
      export PATH
      /usr/people/bcs/test -log


      Thanks.