Fork me on GitHub
#reveal
<
2021-08-16
>
didibus04:08:06

I'm getting: > Syntax error (UnsatisfiedLinkError) compiling at (cljfx/api.clj:72:1). no glassgtk3 in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib] Error in openSuse linux with their openJDK 11. It does not contain JavaFX, but I was expecting that reveal would depend on JavaFx through Maven? Is this not the case?

vlaaad05:08:40

Yeah, it's pulled from maven on jdk 11

vlaaad05:08:29

The error seems to be about missing system package (gtk)

didibus05:08:31

It prints this too:

Loading library glassgtk3 from resource failed: java.lang.UnsatisfiedLinkError: /home/didier/.openjfx/cache/15.0.1/libglassgtk3.so: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /home/didier/.openjfx/cache/15.0.1/libglassgtk3.so: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

didibus05:08:16

And if I look in that folder, I see libglassgtk3.so, but I don't see libgthread-2.0.so

didibus05:08:23

I'm also confused what brought this folder over, I can only imagine it was done by JavaFx, but its like it didn't copy enough libs

vlaaad05:08:43

Yeah, I think javafx unpacks some native libs when first started or something

vlaaad05:08:19

Do you have something like "libgtk-3" installed?

didibus05:08:25

Maybe I should open a ticket with them, I can probably find a way to pull the deps myself, but it seems JavaFX should be doing it

didibus05:08:15

Ya, I have it: > i | libgtk-3-0 | The GTK+ toolkit library (version 3) | package

didibus05:08:52

Ok, looks like I needed to install package: libgthread-2_0-0

👍 3
Ben Sless07:08:36

packages on suse are different, but pretty easy to find and install

didibus04:08:12

Ya, I love openSuse, have switched to it as my personal OS, Tumbleweed is a great rolling release.

Ben Sless05:08:40

I actually moved away from it. Everything going on with both Suse and QT didn't sit well with me

didibus05:08:20

Suse owns QT?

didibus05:08:29

Or you mean just because of KDE?

Ben Sless05:08:46

yes, Plasma on Suse is great, but I don't know where the qt foundation is going with it

Ben Sless05:08:53

too many weird decisions

didibus05:08:10

Hum, ya, I'm fine with it. I like Plasma too much. And I actually like that openSuse will be pulled from Suse now. Though I don't think it matters much, since Tumbleweed happens before both I think.

didibus05:08:16

What did you switch too?

Ben Sless06:08:35

If OpenSuse manages to stabilize maybe I'll give it another shot, currently just using PopOS

didibus06:08:18

Oh cool, ya it looks neat what they do to Ubuntu

didibus06:08:58

I'm not a fan of apt-get though, after using zypper especially

Ben Sless07:08:54

Nothing is perfect