Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229749 - dev-db/oracle-instantclient-sqlplus has incorrect LDPATH configuration
Summary: dev-db/oracle-instantclient-sqlplus has incorrect LDPATH configuration
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 12:55 UTC by Erwin Paternotte
Modified: 2008-06-27 13:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
oracle-instantclient-sqlplus LDPATH file (91oracle-instantclient-sqlplus,46 bytes, text/plain)
2008-06-27 12:56 UTC, Erwin Paternotte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Paternotte 2008-06-27 12:55:15 UTC
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)
Comment 1 Erwin Paternotte 2008-06-27 12:56:37 UTC
Created attachment 158641 [details]
oracle-instantclient-sqlplus LDPATH file

This file should be placed in the /etc/env.d directory by the ebuild.
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2008-06-27 13:40:25 UTC
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.
Comment 3 Erwin Paternotte 2008-06-27 13:50:21 UTC
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.