I have[Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category Resources Index
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata
OpenMandriva Lx version:
OpenMandriva Lx release 6.0 (Vanadium) Rock for znver1
Description of the issue (screenshots if relevant):
Just started using Openmandriva for the first time. When trying to install the Intellij (via the jetbrains toolbox) I am getting an error about native GTK libraries.
Internal error
java.lang.InternalError: Unable to load native GTK libraries
at java.desktop/com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1434)
at com.intellij.ide.ui.laf.LookAndFeelThemeAdapterKt.createBaseLaF(LookAndFeelThemeAdapter.kt:313
It seems like this is normally included when installed via the toolbox but Openmandriva is not a supported OS (they mention Ubuntu LTS and Fedora).
I tried running it with my manually specifying the java version and path the the libraries but that kept giving the same error. Does anyone have any tips on how I can debug this? Or tried it for themselves and figured out already if it can or can’t be made to work.
I doubt that is the reason. They say that because they get money from them.
The issue is probably that we don’t bloat the install like those distros do. Sometimes debloating produces results like that and we are fine tuning that process for any package, not just that one. Do you know which libraries it needs? Are they installed on your system?
This is also getting moved to Development as we don’t know if you are importing your configs from a toolkit in another distro and this is part of any plugins you have installed.
Correct, you need to use the OMLx package names and not the other OS package names declared in the Jetbrains Toolbox app’s System Requirements.
The following OMLx packages should be enough for the Jetbrains Toolbox app:
glibc
dbus-common
gtk+3.0
lib64fontconfig
lib64xi6
lib64xrender1
lib64xtst6
mesa-demos
# installing mesa-demos pulls in the required mesa libs
From the error you seem to be getting perhaps you do not have the gtk+3.0 package installed, but it is worth checking if you have all of the above installed as they are the system requirements for the Jetbrains Toolbox app.
The error is: java.lang.InternalError: Unable to load native GTK libraries
Which means it cannot find the GTK libraries it requires, ensuring you have the packages I noted above installed should hopefully fix that.
I use Jetbrains Toolbox and have most of the IDEs installed, I run x11 Plasma on ROME, but it should also work on Rock.
No problem at least checking for / installing those packages progressed a little bit, even if ultimately you had to add more to the list.
I had an inkling there was another package it required, but I couldn’t recall which package(s) it wanted as it has been a very long time since I installed JetBrains Toolbox and its IDE’s.
I still find it odd that it requires the lib64gtk+3.0-devel package, there must be something in there it requires.
At least through your efforts we now have a record here on the forum of what Toolbox requires so that other OMLx users may reference it: