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
/usr/lib/libodbcinst.so
-> 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?
I've done a "rpm --rebuilddb" to no advantage. Odd thing as well is an
"strace -f -F rpm -i j2re-1.4.1_02-1.rpm" doesn't even show an attempt
to open or find these dynamic libraries, so I assume it's deciding
that the dependancies are missing from the RPM databases itself.
I've had this before with other RPMs and have never been able to
figure out the answer.
Anyone else? I DO NOT want to do an "rpm --nodeps" for the install.
This is going to get used throughout our enterprise.
Thanks in advance,
- Matt
PS: Many other RPMs built by the same 7.0 system work just fine.
--
---------------------------------------------------------------------
Matt Fahrner 2 South Park St.
Manager of Networking Willis House
Burlington Coat Factory Warehouse Lebanon, N.H. 03766
TEL: (603) 448-4100 xt 5150 USA
FAX: (603) 443-6190 Matt.Fahrner@xxxxxxxx
---------------------------------------------------------------------