rpm failed dependency even though library is installed
I am attempting to install an rpm that I generated on a RHEL6.1 server. The rpm I created is just a standard jre 1.6.0_30 release that I want installed in a specific location on the target machine.
When I try to install the rpm (using either yum or rpm) I get a failed dependency: error: Failed dependcies: libodbc.so()(64bit) is needed by jre_1_6_0_30.... libodbcinst.so()(64bit) is needed by jre_1_6_0_30.... Both of these libraries are contained in the RHEL rpm unixODBC-2.2.14-11.el6.x86_64 which is installed on both the machine that I am generating the rpm from and the machine that I am installing the rpm on. I have tried several things so far, including uninstalling unixODBC and reinstalling it, installing both the 32 and 64 bit versions, ensuring that the exact same version is included on both the generating machine and the installing machine. I have also extracted the rpm manually using rpm2cpio|cpio and run ldd on the library that depends on libodbc.so and ldd was able to find the correct version of the library. I am at a loss as to why rpm/yum cannot find the dependency even though the library was installed using yum and that ldd can find the library using a manually extracted version of the jre. Is there anything else that I can try, has anyone seen this behavior before? |
Quote:
Quote:
|
When you created the package did you define the Requires or let rpmbuild automatically resolve them?
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
|
All times are GMT -5. The time now is 09:03 AM. |