-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
desktopAffects Desktop in particular, or relates to Desktop specific codeAffects Desktop in particular, or relates to Desktop specific code
Description
What happened?
I think u need to embed this lib possible as this issue gone plague on Linux system
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /tmp/maplibre-native-10291293915907124624/libmaplibre-jni.so: libicuuc.so.74: cannot open shared object file: No such file or directory
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.load0(Unknown Source)
at java.base/java.lang.System.load(Unknown Source)
at org.maplibre.kmp.native.util.SharedLibraryLoader.extractAndLoadLibrary(SharedLibraryLoader.kt:71)
at org.maplibre.kmp.native.util.SharedLibraryLoader.load(SharedLibraryLoader.kt:81)
at org.maplibre.kmp.native.util.AutoCleanPointer.<clinit>(AutoCleanPointer.kt:19)
at org.maplibre.kmp.native.map.CanvasRenderer.<init>(CanvasRenderer.kt:16)
at org.maplibre.kmp.native.map.MapCanvas.addNotify(MapCanvas.kt:44)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
at java.desktop/java.awt.Container.addImpl(Unknown Source)
at java.desktop/javax.swing.JLayeredPane.addImpl(Unknown Source)
at java.desktop/java.awt.Container.add(Unknown Source)
at androidx.compose.ui.viewinterop.SwingInteropViewHolder.insertInteropView(SwingInteropViewHolder.desktop.kt:125)
at androidx.compose.ui.viewinterop.SwingInteropContainer.place$lambda$3(SwingInteropContainer.desktop.kt:208)
at androidx.compose.ui.viewinterop.ScheduledUpdatesSwapchain.execute(SwingInteropContainer.desktop.kt:96)
at androidx.compose.ui.viewinterop.SwingInteropContainer.executeScheduledUpdates(SwingInteropContainer.desktop.kt:230)
at androidx.compose.ui.viewinterop.SwingInteropContainer.postponingExecutingScheduledUpdates(SwingInteropContainer.desktop.kt:254)
at androidx.compose.ui.scene.ComposeSceneMediator.onRender(ComposeSceneMediator.desktop.kt:598)
at org.jetbrains.skiko.SkiaLayer.update$skiko(SkiaLayer.awt.kt:565)
at org.jetbrains.skiko.redrawer.AWTRedrawer.update(AWTRedrawer.kt:54)
at org.jetbrains.skiko.redrawer.LinuxOpenGLRedrawer$Companion$frameDispatcher$1.invokeSuspend(LinuxOpenGLRedrawer.kt:122)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@601813ad, SwingDispatcher@60c9426e]
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Unknown glyph format: 0
at java.desktop/sun.font.XRGlyphCacheEntry.getType(Unknown Source)
at java.desktop/sun.font.XRGlyphCache.separateGlyphTypes(Unknown Source)
at java.desktop/sun.font.XRGlyphCache.uploadGlyphs(Unknown Source)
at java.desktop/sun.font.XRGlyphCache.cacheGlyphs(Unknown Source)
at java.desktop/sun.font.XRTextRenderer.drawGlyphList(Unknown Source)
at java.desktop/sun.java2d.pipe.GlyphListPipe.drawString(Unknown Source)
at java.desktop/sun.java2d.pipe.ValidatePipe.drawString(Unknown Source)
at java.desktop/sun.java2d.SunGraphics2D.drawString(Unknown Source)
at java.desktop/sun.swing.SwingUtilities2.drawString(Unknown Source)
Affected Platforms
- Android
- iOS
- Desktop (JVM)
- Browser (JS)
- Browser (Wasm)
Platform Version
Arch Linux
Library Version
0.11.1
Sample Code
MaplibreMap(modifier = Modifier.size(300.dp))
s3n-w6i
Metadata
Metadata
Assignees
Labels
desktopAffects Desktop in particular, or relates to Desktop specific codeAffects Desktop in particular, or relates to Desktop specific code