Hi all, I'm currently working on building a musl+clang system and it's all up and happening with a Plasma desktop and all that good stuff, but I'm having trouble at the moment getting my JetBrains IDEs working on the thing, since obviously the IDE's bundled Java isn't going to run on musl. Emerging virtual/jdk pulls in dev-java/openjdk-bin which seems to grab Alpine's openjdk, which makes sense because musl, but when I try to run RubyMine using that JDK, it fails with the following:
Code: Select all
kotlinx.coroutines.JobCancellationException: Parent job is Cancelling; job=DispatchedCoroutine{Cancelling}@28cfd59
Caused by: java.lang.UnsatisfiedLinkError: /opt/openjdk-bin-17.0.8.1_p1/lib/libawt_xawt.so: Error relocating /opt/openjdk-bin-17.0.8.1_p1/lib/libawt_xawt.so: __strdup: symbol not found
I don't think it's necessarily a RubyMine problem since I've heard of people running it on Alpine without problems, so I'm going to go ahead and guess this has something to do with the lack of gcc on my system, but I'm no expert in the matter. My next thought was to just compile dev-java/openjdk straight on the musl+clang system, but that's proving difficult for its own reasons. I'm going to keep poking at that in the meantime, but for now, is this something anyone's come up against before? I can't be the only guy having Java troubles on musl+clang right?