RPM cannot detect a library for installation

Thierry Vignaud thierry.vignaud at gmail.com
Thu Jun 28 00:15:35 UTC 2012

On 28 June 2012 02:05, jupiter <jupiter.hce at gmail.com> wrote:
> I am running centos 6. While I was installing an rpm package "rpm -ivh
> foo-1.44-1.2-el6.x86_64.rpm", it through an error:
> error: Failed dependencies:
> libodbc.so()(64bit) is needed by foo-1.44-1.2.x86_64
> libodbcinst.so()(64bit) is needed by fooj-1.44-1.2.x86_64
> But both libodbc.so and libodbcinst.so does exist in my system:
> /usr/lib64/libodbc.so
> /usr/lib64/libodbc.so.2
> /usr/lib64/libodbc.so.2.0.0
> /usr/lib64/libodbcinst.so
> /usr/lib64/libodbcinst.so.2
> /usr/lib64/libodbcinst.so.2.0.0

That doesn't mean they're actually owned by a rpm package...

> I even added /usr/lib64 to the LD_LIBRARY_PATH, the error still persists.
> Why can't rpm detect the libodbc.so and libodbcinst.so?

b/c no installed package actually provides them...

More information about the Rpm-list mailing list