Please suggest a solution for solving this issue?? While giving the command:
sqlplus /nolog
the error that occurred:
sqlplus: error while loading shared libraries:
libsqlplus.so: cannot open shared object file: No such file or directory
Please suggest a solution for solving this issue?? While giving the command:
sqlplus /nolog
the error that occurred:
sqlplus: error while loading shared libraries:
libsqlplus.so: cannot open shared object file: No such file or directory
You can try usage:
This problem are because oracleinstant client not configure shared library.
PERMISSIONS: I want to stress the importance of permissions for "sqlplus".
For any "Other" UNIX user other than the Owner/Group to be able to run sqlplus and access an ORACLE database , read/execute permissions are required (rx) for these 4 directories :
$ORACLE_HOME/bin , $ORACLE_HOME/lib, $ORACLE_HOME/oracore, $ORACLE_HOME/sqlplus
Environment. Set those properly:
A. ORACLE_HOME (example:
ORACLE_HOME=/u01/app/oranpgm/product/12.1.0/PRMNRDEV/
)B. LD_LIBRARY_PATH (example:
ORACLE_HOME=/u01/app/oranpgm/product/12.1.0/PRMNRDEV/lib
)C. ORACLE_SID
D. PATH
Don't forget
or
@laryx-decidua: I think you are only seeing the 18.x instant client releases that are in the
ol7_oci_included
repo. The 19.x instant client RPMs, at the moment, are only in theol7_oracle_instantclient
repo. Easiest way to access that repo is:yum install oracle-release-el7
The minimum configuration to properly run
sqlplus
from the shell is to setORACLE_HOME
andLD_LIBRARY_PATH
. For ease of use, you might want to set thePATH
accordingly too.Assuming you have unzipped the required archives in
/opt/oracle/instantclient_11_1
:It means you didn't set ORACLE_HOME and ORACLE_SID variables. Kindly set proper working $ORACLE_HOME and $ORACLE_SID and after that execute sqlplus /nolog command. It will be working.