[syslog-ng] syslog-ng-java RPM requirements will not use Oracle Java

Robin Blanchard rblanchard at nephilaadvisors.com
Thu Mar 22 17:07:27 UTC 2018


$ find /usr/java/jre1.8.0_162/* -name "*jvm.so"
/usr/java/jre1.8.0_162/lib/amd64/server/libjvm.so


-----Original Message-----
From: syslog-ng [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Evan Rempel
Sent: Thursday, March 22, 2018 12:02 PM
To: Syslog-ng users' and developers' mailing list <syslog-ng at lists.balabit.hu>
Subject: [syslog-ng] syslog-ng-java RPM requirements will not use Oracle Java

Using the copr builds of syslog-ng 3.14

The package syslog-ng-java has RPM requirements that include

libjvm.so()(64bit)
libjvm.so(SUNWprivate_1.1)(64bit)

The Java packages from Oracle do not provide these items.

% rpm -q --provides -p jdk-8u162-linux-x64.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-1.8.0
java-fonts
jre
jre-1.8.0
jdk1.8 = 2000:1.8.0_162-fcs

% rpm -q --provides -p jre-8u162-linux-x64.rpm
jaxp_parser_impl
xml-commons-apis
java
java-1.8.0
java-fonts
jre
jre-1.8.0
jre1.8 = 1.8.0_161-fcs

[% rpm -q --provides jdk-9.0.4_linux-x64_bin.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-9.0.4
java-fonts
jre
jre-9.0.4
jdk-9.0.4 = 2000:9.0.4-ga
jdk-9.0.4(x86-64) = 2000:9.0.4-ga

Under Redhat 7 in order to get these I need

libjvm.so()(64bit) --> java-1.8.0-ibm
libjvm.so(SUNWprivate_1.1)(64bit) --> java-1.8.0-openjdk-headless

The Oracle provided java (jdk or jre) do not provide these things. Both of these java packages provides the lib jvm.so

% rpm -ql java-1.8.0-ibm | grep libjvm
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/bin/classic/libjvm.so
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/bin/j9vm/libjvm.so
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/lib/amd64/classic/libjvm.so
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/lib/amd64/compressedrefs/libjvm.so
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/lib/amd64/default/libjvm.so
/usr/lib/jvm/java-1.8.0-ibm-1.8.0.5.10-1jpp.1.el7.x86_64/jre/lib/amd64/j9vm/libjvm.so

% rpm -ql java-1.8.0-openjdk-headless | grep libjvm
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre/lib/amd64/server/libjvm.so

Both of these package provide the following potentials for a dependency

jre = 1:1.8.0
java = 1:1.8.0

or if you want to tie to a specific version of java

jre-1.8.0
java-1.8.0


If these requirements were used in the RPM build then I could use Oracle Java to satisfy the RPM requirements.

Am I missing something obvious here?

Comments?











-- 
Evan Rempel                                      erempel at uvic.ca
Senior Systems Administrator                        250.721.7691
Data Centre Services, University Systems, University of Victoria

______________________________________________________________________________
Member info: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Crblanchard%40nephilaadvisors.com%7C78c48e8dc184410b298008d590166651%7C1e7efa48808b4cb19709d1b4e6fbdf78%7C0%7C0%7C636573348515583546&sdata=W%2Fu%2FSRIUy8Q6MLuhBFSUcugjaK67hh17qe19GvAXNFc%3D&reserved=0
Documentation: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7Crblanchard%40nephilaadvisors.com%7C78c48e8dc184410b298008d590166651%7C1e7efa48808b4cb19709d1b4e6fbdf78%7C0%7C0%7C636573348515583546&sdata=%2Bz%2FiV35Ra8xVDbJIlkXkPVH%2BIX6kZwypJP69cLbAeh4%3D&reserved=0
FAQ: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7Crblanchard%40nephilaadvisors.com%7C78c48e8dc184410b298008d590166651%7C1e7efa48808b4cb19709d1b4e6fbdf78%7C0%7C0%7C636573348515583546&sdata=09UcDnEt2FL2MkGShs1kNd2pEL726HGX2IC%2B0iYsASI%3D&reserved=0



More information about the syslog-ng mailing list