From: "Raul da Silva {Sp4wn}" on
Hi,

Good morning for all,

I'd like to understand why when i try to install the package 'php52-pdo-oci'
generated by 'rpmbuild -ba php52.spec' with feature inside of file , doesn't
work and returns the follow error :

# rpm -qpl /usr/src/linux/RPMS/x86_64/php52-pdo-oci-5.2.12-2.fc11.x86_64.rpm
/etc/php.d/pdo_oci.ini
/usr/lib64/php/modules/pdo_oci.so

# rpm --test -ivh
/usr/src/redhat/RPMS/x86_64/php52-pdo-oci-5.2.12-2.fc11.x86_64.rpm
error: Failed dependencies:
libclntsh.so.10.1()(64bit) is needed by
php52-pdo-oci-5.2.12-2.fc11.x86_64


I checked this steps, its ok :

1)
# ls -l /usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so
lrwxrwxrwx 1 root root 17 2010-04-12 19:38 /usr/lib/oracle/
10.2.0.4/client64/lib/libclntsh.so -> libclntsh.so.10.1

2)
# ldconfig -p | grep libclntsh.so
libclntsh.so.10.1 (libc6,x86-64) => /usr/lib/oracle/
10.2.0.4/client64/lib/libclntsh.so.10.1
libclntsh.so (libc6,x86-64) => /usr/lib/oracle/
10.2.0.4/client64/lib/libclntsh.so


What is wrong ? , thanks for help


Att,

Raul
From: Kevin Kinsey on
Raul da Silva {Sp4wn} wrote:
> # rpm -qpl /usr/src/linux/RPMS/x86_64/php52-pdo-oci-5.2.12-2.fc11.x86_64.rpm
> /etc/php.d/pdo_oci.ini
> /usr/lib64/php/modules/pdo_oci.so
>
> # rpm --test -ivh
> /usr/src/redhat/RPMS/x86_64/php52-pdo-oci-5.2.12-2.fc11.x86_64.rpm
> error: Failed dependencies:
> libclntsh.so.10.1()(64bit) is needed by
> php52-pdo-oci-5.2.12-2.fc11.x86_64
>
> I checked this steps, its ok :
>
> 1)
> # ls -l /usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so
> lrwxrwxrwx 1 root root 17 2010-04-12 19:38 /usr/lib/oracle/
> 10.2.0.4/client64/lib/libclntsh.so -> libclntsh.so.10.1
>
> 2)
> # ldconfig -p | grep libclntsh.so
> libclntsh.so.10.1 (libc6,x86-64) => /usr/lib/oracle/
> 10.2.0.4/client64/lib/libclntsh.so.10.1
> libclntsh.so (libc6,x86-64) => /usr/lib/oracle/
> 10.2.0.4/client64/lib/libclntsh.so
>
> What is wrong ? , thanks for help

http://bugs.php.net/29301

??

Kevin Kinsey