I've installed OIC 11.2 on a RHEL6 64-bit system. The client works for the root user; but not other users; I'm using the same environment settings for both users. The software was installed via the RPM's per the directions. Is this a permissions issue or what?
Here is root:
[root@merthiolate kfs]# set | grep ORA
ORACLE_HOME=/usr/lib/oracle/11.2/client64
ORACLE_SID=PHMWEB
[root@merthiolate kfs]# set | grep PATH
LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/oracle/11.2/client64/bin:/root/bin
[root@merthiolate kfs]# sqlplus
SQL*Plus: Release 11.2.0.3.0 Production on Wed Jul 22 15:49:16 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter user-name: ^C
Here is a non-root user:
[webworker@merthiolate ~]$ set | grep ORA
ORACLE_HOME=/usr/lib/oracle/11.2/client64
ORACLE_SID=phmweb
[webworker@merthiolate ~]$ set | grep PATH
LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/oracle/11.2/client64/bin:/home/webworker/bin
[webworker@merthiolate ~]$ sqlplus
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory