rpm says missing lib but it's already rpm installed

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

 



Try
rpm -q --whatprovides
libclntsh.so.10.1<http://10.2.0.4/client/bin/genezi/usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so.10.1/usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so/usr/lib/oracle/10.2.0.4/client/lib/libocci.so.10.1/usr/lib/oracle/10.2.0.4/client/lib/libociicus.so/usr/lib/oracle/10.2.0.4/client/lib/libocijdbc10.so/usr/lib/oracle/10.2.0.4/client/lib/ojdbc14.jar>

IMHO,  oracle-installclient-basiclite has AutoReqProv : 0 in the spec, for
disabling automatic deps generation. In dubt
try rpm -q --provides oracle-instantclient-basiclite. See this docu if you
like to understand better the point
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch05s02.html . In short,
the simple fact that a file is provided in a rpm don't mean
that it is a "capability" used for dependency resolution.

(ASIDE) it is very possible that the oracle-instantclient-basiclite had
disabled the automatic deps rpm generation: this program probably include
basic "capability" already provided generally by the distro and from linux
standard base (e.g. for example libc, perl and the like). And it is simple
to assume that someone don't want to install oracle-instantclient-basiclite
for resolving a deps from libc or perl for example (sigh): do you know, the
"UNIVERSAL INSTALLER" saga. My experience, anyway.

hth

On Fri, Nov 7, 2008 at 10:38 AM, Martin Koller <martin.koller at etm.at> wrote:

> Hi,
>
> what can be the reason if rpm thinks a file is not available but it is
> installed ?
>
> rpm -i pvss_3.8-rdb-oracle-libs10-0-0.i386.rpm
> error: Failed dependencies:
>        libclntsh.so.10.1 is needed by
> pvss_3.8-rdb-oracle-libs10-0-0.i386
>
> But the libclntsh.so.10.1 is included in:
>
> rpm -ql oracle-instantclient-basiclite-10.2.0.4-1
> /usr/lib/oracle/10.2.0.4/client/bin/genezi
> /usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so.10.1
> /usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so
> /usr/lib/oracle/10.2.0.4/client/lib/libocci.so.10.1
> /usr/lib/oracle/10.2.0.4/client/lib/libociicus.so
> /usr/lib/oracle/10.2.0.4/client/lib/libocijdbc10.so
> /usr/lib/oracle/10.2.0.4/client/lib/ojdbc14.jar<http://10.2.0.4/client/bin/genezi/usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so.10.1/usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so/usr/lib/oracle/10.2.0.4/client/lib/libocci.so.10.1/usr/lib/oracle/10.2.0.4/client/lib/libociicus.so/usr/lib/oracle/10.2.0.4/client/lib/libocijdbc10.so/usr/lib/oracle/10.2.0.4/client/lib/ojdbc14.jar>
>
> So why does rpm -i not find the lib ?
>
> P.S.: I already tried "rpm --rebuilddb" just to be sure
>
> --
> Best Regards/Sch?ne Gr??e
>
> Martin
>
> -----------------------------------------------------------------
> Ing. Martin Koller , mailto:martin.koller at etm.at , http://www.etm.at
> ETM professional control GmbH, A-7000 Eisenstadt Kasernenstr. 29
> Phone:+43 2682/741-300, Fax:+43 2682/741-107
> -----------------------------------------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-list/attachments/20081107/95b7e173/attachment.htm 


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux