ls -l $ORACLE_HOME/lib/libsqlplus.so
The ldd command shows which shared libraries a binary depends on and whether they are found. ls -l $ORACLE_HOME/lib/libsqlplus
file $ORACLE_HOME/bin/sqlplus