The following was done on a
RHEL 6.9 32bit OS.
I installed the oracle (not openjdk) version of
JRE rpm using the
I then built a package using
rpmbuild that requires
libjvm.so which is provided by the oracle JRE and verified this using the command.
rpm -ql jre1.8.0_111-1.8.0_111-fcs.i586
However, when I go to install the
rpm I built or use the command
rpm -q libjvm.so I am getting told that
libjvm.so is not installed.
I know I can put in the
spec file for my rpm
to get around the dependency issue, however, that does not seem like good practice and I have also rebuilt the rpm database to no avail.
Thus I am left pondering and trying to solve, how the jre rpm says it provides
libjvm.so yet the RPM database keeps saying that the dependency
libjvm.so is not installed. Any ideas?
The JRE rpm also provides the following
jaxp_parser_impl xml-commons-apis java java-1.8.0 java-fonts jre jre-1.8.0 jre1.8.0_111 = 1.8.0_111-fcs