Page 1 of 1

compiling and RPM for php-pecl-ci8

Posted: 2013/05/02 09:41:47
by digrouz

I'm trying to build a rpm for php-pecl-ci8.

I was able to make it successfully but when I'm trying to install it I get dependency problems:

Resolving Dependencies
--> Running transaction check
---> Package php-pecl-oci8.x86_64 0:1.4.9-1.el6 will be installed
--> Processing Dependency: for package: php-pecl-oci8-1.4.9-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-oci8-1.4.9-1.el6.x86_64 (/php-pecl-oci8-1.4.9-1.el6.x86_64)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

This library is provided by oracle-instantclient11.2-basic- which is already installed on the system.

How can I fix this?

You can look at my spec file here:

Re: compiling and RPM for php-pecl-ci8

Posted: 2013/05/03 07:02:42
by digrouz

I found my problem, It was not from my spec file. In fact the rpms for instantclient-basic distributed by oracle are not correctly made to support the "provides" argument of rpm, I had to rebuild them.