[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Rebuilding php rpm to include Oracle support



On Tue, 2004-12-14 at 16:05 -0500, Lehman, Jason (Registrar's Office)
wrote:
> I can rebuild the rpm but then it says that 
> 
> Libclntsh.so.9.0 is needed by php-oci8-4.3.2-14.ent
I install the Oracle client as an RPM, so libclntsh shows up in the RPM
database.   There are two ways to do it: make a real RPM (what I do) or
a fake one with a "Provides: libclntsh.so.9.0" line.

Spec files attached.  The "real" one may need to be run as root or
oracle (or the user that owns the oracle client installation) to get
around some restrictive permissions.

> 
> So how do I tell the rpm to find the client libraries for oracle.
> 
> I set the environment variable ORACLE_HOME before running the rpm but no
> luck.  Any help would be appreciated.  I saw on the message board that
> someone said that it meant the file is not owned by the rpm but I don't
> know what that means.  Again thanks for any help.
> 
> --
> Taroon-list mailing list
> Taroon-list redhat com
> http://www.redhat.com/mailman/listinfo/taroon-list



** ** **  PRIVILEGED AND CONFIDENTIAL  ** ** **
This email transmission contains privileged and confidential information 
intended only for the use of the individual or entity named above.  Any 
unauthorized review, use, disclosure or distribution is prohibited and 
may be a violation of law.  If you are not the intended recipient or a 
person responsible for delivering this message to an intended recipient, 
please delete the email and immediately notify the sender via the email 
return address or mailto:postmaster priority-health com   Thank you.

Summary: Oracle Client
Name: Oracle-client
Version: 9.2.0
Release: 4
License: Commercial
Group: Libraries
URL: http://www.oracle.com
Distribution: Custom
Vendor: Oracle
Provides: libclntsh.so.9.0

%description
Oracle package that sets up dependencies and provided libraries.

%files

Summary: Oracle Client
Name: Oracle-client
Version: 9.2.0
Release: 4
License: Commercial
Group: Libraries
URL: http://www.oracle.com
Distribution: Custom
Vendor: Oracle

%description
The Oracle client.

%files
# change this to whereever you install your Oracle client.
/ora/oracle00/app/oracle/product/9.2.0

Attachment: Oracle-client-9.2.0-4.i386.rpm
Description: application/rpm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]