soulspace-org / overarch

Overarch provides a data model for the holistic description of a software system, opening multiple use cases on the model data. Supports C4 and UML diagram generation with PlantUML.
Eclipse Public License 1.0
204 stars 6 forks source link

support -w option for ARM CPU / Apple Silicon #2

Closed gmuth closed 12 months ago

gmuth commented 1 year ago

java -jar overarch.jar -w Exception in thread "main" java.lang.UnsatisfiedLinkError: /private/var/folders/g1/nqzzx5r95bl93qwm6pvq0jvw0000gn/T/jna9992242266778354184.tmp: dlopen(/private/var/folders/g1/nqzzx5r95bl93qwm6pvq0jvw0000gn/T/jna9992242266778354184.tmp, 0x0001): tried: '/private/var/folders/g1/nqzzx5r95bl93qwm6pvq0jvw0000gn/T/jna9992242266778354184.tmp' (fat file, but missing compatible architecture (have (unknown,i386,x86_64), need (arm64e))) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:384) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:228) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:170) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:744) at com.sun.jna.Native.loadNativeLibrary(Native.java:678) at com.sun.jna.Native.(Native.java:106) at com.barbarysoftware.jna.CarbonAPI.(CarbonAPI.java:6)

There is a similar issue: https://clojurians-log.clojureverse.org/kaocha/2022-08-18 --> https://github.com/nextjournal/beholder

lsolbach commented 1 year ago

I will check, if beholder is a drop in replacement for hawk. If so, I'll replace hawk with beholder.

lsolbach commented 12 months ago

Switched from hawk to beholder and merged the change into the main branch. The change will be included in the next release 0.7.0.