Sqlplus can't find certain libraries, because of a missing LDPATH. Reproducible: Always Steps to Reproduce: 1. /usr/bin/sqlplus Actual Results: /usr/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory Expected Results: startup of sqlplus without errors. ldd /usr/bin/sqlplus linux-gate.so.1 => (0xb7f55000) libsqlplus.so => not found libclntsh.so.10.1 => not found libnnz10.so => not found libdl.so.2 => /lib/libdl.so.2 (0x4ce48000) libm.so.6 => /lib/libm.so.6 (0x4ce4e000) libpthread.so.0 => /lib/libpthread.so.0 (0x4ce75000) libnsl.so.1 => /lib/libnsl.so.1 (0x4d950000) libc.so.6 => /lib/libc.so.6 (0x4cd18000) /lib/ld-linux.so.2 (0x4c158000)
Created attachment 158641 [details] oracle-instantclient-sqlplus LDPATH file This file should be placed in the /etc/env.d directory by the ebuild.
oracle-instantclient-sqlplus depends on oracle-instantclient-basic which sets up /etc/env.d/50oracle-instantclient-basic which includes the proper LDPATH setting. WONTFIX therefore.
I installed already oracle-instantclient-basic before filing this bug. After reemerging oracle-instantclient-basic the /etc/env.d/50oracle-instantclient-basic suddenly showed up. I don't completely understand why this file was not there before. It fixed my problem anyhow, so thanks.