On Fri, Dec 12, 2008 at 11:07:30AM +0100, Michael Mraka wrote:
> % 
> % The oracle-instantclient-sqlplus package seems to do that symlink just
> % fine. If you do it in oracle-lib-compat and do not have the
> 
> Yes, if we are talking about satellite's oracle-instantclient*rpm which is
> packed by us.
> 
> % oracle-instantclient-sqlplus installed, you'll get dangling symlink.
> % And if you have oracle-instantclient-sqlplus installed, you already
> % have the symlink.
> 
> But no, if we are talking about spacewalk where oracle-instanclient-*rpm
> comes from www.oracle.com. So in spacewalk we use oracle-lib-compat package
> to setup oracle's environment same way as it's in satellite.

Hmmm, this one seems to have been built by Oracle yet it has the
/usr/bin/sqlplus thing in it:

# rpm -qi oracle-instantclient-sqlplus-10.2.0.4-1
Name        : oracle-instantclient-sqlplus  Relocations: (not relocatable)
Version     : 10.2.0.4                          Vendor: Oracle Corporation
Release     : 1                             Build Date: Sun 17 Feb 2008 
09:59:52 AM CET
Install Date: Fri 12 Dec 2008 10:18:32 AM CET      Build Host: 
stamc08.us.oracle.com
Group       : Applications/File             Source RPM: 
oracle-instantclient-sqlplus-10.2.0.4-1.src.rpm
Size        : 2509293                          License: Oracle
Signature   : (none)
Packager    : Nobody <nob...@oracle.com>
URL         : http://www.oracle.com/
Summary     : SQL*Plus for Instant Client.
Description :
Instant Client allows you to run your applications without installing the 
standard Oracle client or having and ORACLE_HOME.  OCI, OCCI, ODBC, and JDBC 
applications work without modification, while using significantly less disk 
space than before.  Even SQL*Plus can be used with Instant Client.  No 
recompile, no hassle.

This package provides SQL*Plus for Instant Client.
# rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
/usr/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
# 

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to