While running Highlight Code reader installation on RHEL 8.9 installation failed with the error Failed dependencies.
rpm -ivh ./cast-highlight-code-reader-1.0.0-1.x86_64.rpm
error: Failed dependencies
libc.so.6(GLIBC_2.29)(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libcairo-gobject.so.2()(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libgdk-3.so.0()(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libgtk-3.so.0()(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libjavascriptcoregtk-4.0.so.18()(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libm.so.6(GLIBC_2.29)(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
libwebkit2gtk-4.0.so.37()(64bit) is needed by cast-highlight-code-reader-1.0.0-1.x86_64
Workaround or Action Plan
For Fedora, as indicated in the prerequisites, ensure that the below dependencies are installed and configured in the environment.
*******
Fedora
*******
Prerequisites
- install Server with GUI
- install Perl
sudo dnf upgrade –refresh
sudo dnf install perl perl-App-cpanminus perl-devel
- install Perl libraries
sudo cpan Digest::SHA
sudo cpan XML::LibXML
sudo cpan JSON
sudo cpan Time::HiRes
sudo cpan Math::BigInt
- install openJDK 11
sudo dnf install java-11-openjdk-devel.x86_64
/!\ Note for the rpm file installation: use if necessary, --force and --replacefiles option(s)
sudo rpm -ivh [--force --replacefiles] ./cast-highlight-code-reader.rpm
- Libssl
if you get the following error: libssl.so.1.1: cannot open shared object file: No such file or directory
sudo dnf install compat-openssl11
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Zendesk Ticket Number
46250
Open JDK 11 had reached EOL in 2019: https://endoflife.date/openjdk-builds-from-oracle
We should support and move towards a newer version of JDK.