When I started to build compose template project on my laptop, error occurred as follow:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/wesley/.skiko/bdcaedf252aef6cf30ec5e4306d4e67047a18dac30272b23151ea287cd10e421/libskiko-linux-arm64.so: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/wesley/.skiko/bdcaedf252aef6cf30ec5e4306d4e67047a18dac30272b23151ea287cd10e421/libskiko-linux-arm64.so)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at org.jetbrains.skiko.Library.loadLibraryOrCopy(Library.kt:20)
at org.jetbrains.skiko.Library.findAndLoad(Library.kt:113)
at org.jetbrains.skiko.Library.load(Library.kt:59)
at org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12)
at androidx.compose.ui.ConfigureSwingGlobalsForCompose_desktopKt.configureSwingGlobalsForCompose(ConfigureSwingGlobalsForCompose.desktop.kt:49)
at androidx.compose.ui.ConfigureSwingGlobalsForCompose_desktopKt.configureSwingGlobalsForCompose$default(ConfigureSwingGlobalsForCompose.desktop.kt:38)
at androidx.compose.ui.window.Application_desktopKt.application(Application.desktop.kt:111)
at androidx.compose.ui.window.Application_desktopKt.application$default(Application.desktop.kt:105)
at MainKt.main(main.kt:16)
current glic is the latest package in apt source, I'm afraid upgrading system glibc privately would cause other issues, is there any safe way of upgrading glibc or make compose's glibc downgrade to make it work? Thanks a lot.
When I started to build compose template project on my laptop, error occurred as follow:
My laptop indeed not have GLIBC_2.29
current glic is the latest package in apt source, I'm afraid upgrading system glibc privately would cause other issues, is there any safe way of upgrading glibc or make compose's glibc downgrade to make it work? Thanks a lot.