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

Re: RPMs not finding dependancies

On Wed, 5 Mar 2003, Matt Fahrner wrote:

>I've recently created an RPM on a 7.0 box to be installed on an 8.0
>box that I got the following errors when trying to install:
>      error: Failed dependencies:
>         libodbcinst.so is needed by j2re-1.4.1_02-1
>         libodbc.so is needed by j2re-1.4.1_02-1
>Funny thing is, these files exist:
>      lrwxrwxrwx    1 root     root           20 Oct 22 17:49
>-> libodbcinst.so.1.0.0*
>      lrwxrwxrwx    1 root     root           16 Oct 22 17:25
>/usr/lib/libodbc.so -> libodbc.so.1.0.0*
>and are supplied by standard 8.0 RPMS:
>      1%  rpm -qf /usr/lib/libodbc.so
>      unixODBC-2.2.2-3
>      2%  rpm -qf /usr/lib/libodbcinst.so
>      unixODBC-devel-2.2.2-3
>So why is RPM claiming they are missing?

The package you're trying to install does not depend on
"/usr/lib/libodbc.so" the file, it depends on "libodbc.so" the
resource. unixODBC-2.2.2-3.i386.rpm does not provide any such resource:

$ rpm -qp --provides unixODBC-2.2.2-3.i386.rpm | grep libodbc.so

Note the ".1"; while being a small difference, it is not the exact
resource which j2re requires, so RPM complains.

>Anyone else? I DO NOT want to do an "rpm --nodeps" for the install.
>This is going to get used throughout our enterprise.

Any reason you've built your own package, rather than use the one from
Sun? There are shared libraries which link against libodbc.so, but the
RPM doesn't appear to have any complex dependencies.



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