John Le Brasseur
2018-08-25 13:32:50 UTC
Hi.
I don't know why I tried to install JAVA.
Quite difficult actually.
Page:
Beyond Linux® From Scratch - Version 2018-08-23
Chapter 13. Programming
http://www.linuxfromscratch.org/blfs/view/svn/general/ojdk-conf.html
(I actually started this a week ago when this was 8.2, it is now 8.3)
Step:
/usr/sbin/make-ca -g --force &&
ln -sfv /etc/ssl/java/cacerts.jks /opt/jdk/lib/security/cacerts
Result for most certificates:
e.g.
Certificate: SZAFIR ROOT CA2
Keyhash: fe8a2cd8
Added to GnuTLS certificate bundle.
/opt/jdk/bin/keytool: error while loading shared libraries: libjli.so:
cannot open shared object file: No such file or directory
/opt/jdk/bin/keytool: error while loading shared libraries: libjli.so:
cannot open shared object file: No such file or directory
All 'libjli.so' but I suspect a deeper problem.
Details:
ls -l /opt/OpenJDK-10.0.1+10-bin/lib/jli/
total 76
-rw-r--r-- 1 root root 75104 Apr 24 14:40 libjli.so
I believe I have set up all the dependencies.
I believe I have executed all the steps correctly
(I have also rerun some steps to check for errors.)
Clearly I have an error.
I don't actually want to ask for help because I don't think I was
concentrating hard enough and I've probably done something or omitted
something central to the process.
Nevertheless.
Is there an obvious fault here?
Many thanks.
John Le Brasseur
I don't know why I tried to install JAVA.
Quite difficult actually.
Page:
Beyond Linux® From Scratch - Version 2018-08-23
Chapter 13. Programming
http://www.linuxfromscratch.org/blfs/view/svn/general/ojdk-conf.html
(I actually started this a week ago when this was 8.2, it is now 8.3)
Step:
/usr/sbin/make-ca -g --force &&
ln -sfv /etc/ssl/java/cacerts.jks /opt/jdk/lib/security/cacerts
Result for most certificates:
e.g.
Certificate: SZAFIR ROOT CA2
Keyhash: fe8a2cd8
Added to GnuTLS certificate bundle.
/opt/jdk/bin/keytool: error while loading shared libraries: libjli.so:
cannot open shared object file: No such file or directory
/opt/jdk/bin/keytool: error while loading shared libraries: libjli.so:
cannot open shared object file: No such file or directory
All 'libjli.so' but I suspect a deeper problem.
Details:
ls -l /opt/OpenJDK-10.0.1+10-bin/lib/jli/
total 76
-rw-r--r-- 1 root root 75104 Apr 24 14:40 libjli.so
I believe I have set up all the dependencies.
I believe I have executed all the steps correctly
(I have also rerun some steps to check for errors.)
Clearly I have an error.
I don't actually want to ask for help because I don't think I was
concentrating hard enough and I've probably done something or omitted
something central to the process.
Nevertheless.
Is there an obvious fault here?
Many thanks.
John Le Brasseur