...
[centos@ip-172-30-3-146 instantclient]$ /opt/datical/DaticalDB/instantclient/sqlplus -v
You should see eg. SQL*Plus: Release 12.1.0.2.0 Production
If you receive the below errors do the following:
[centos@ip-172-30-3-146 instantclient]$ /opt/datical/DaticalDB/instantclient/sqlplus -v
/opt/datical/DaticalDB/instantclient/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directorySet the following in the .bashrc
export ORACLE_HOME=/opt/datical/DaticalDB/instantclient
export LD_LIBRARY_PATH=/opt/datical/DaticalDB/instantclient
export PATH=$PATH:$ORACLE_HOME/bin
[centos@ip-172-30-3-146 instantclient]$ /opt/datical/DaticalDB/instantclient/sqlplus -v
/opt/datical/DaticalDB/instantclient/sqlplus: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directoryRun:
sudo yum install libaio
or:
sudo apt-get install libaio1 libaio-dev
Reference: https://stackoverflow.com/questions/10619298/libaio-so-1-cannot-open-shared-object-file
[centos@ip-172-30-3-146 instantclient]$ /opt/datical/DaticalDB/instantclient/sqlplus -v
/opt/datical/DaticalDB/instantclient/sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directoryRun:
yum install libnsl*
or:
sudo apt-get install libnsl
...