Open hhhfsj opened 2 years ago
Error loading shared library ld-linux-x86-64.so.2
缺库了
尝试安装一下 libstdc++
和 gcompat
好像还是不行
2022-10-04 21:08:23 E/mirai-skia-plugin: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.mirai-skia-plugin of mirai-skia-plugin
java.lang.UnsatisfiedLinkError: /opt/Pigeon-Server_APP/QQ_Bot/data/xyz.cssxsh.mirai.plugin.mirai-skia-plugin/lib/libskiko-linux-x64.so: Error relocating /opt/Pigeon-Server_APP/QQ_Bot/data/xyz.cssxsh.mirai.plugin.mirai-skia-plugin/lib/libskiko-linux-x64.so: __printf_chk: symbol not found
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skiko.Library.loadLibraryOrCopy(Library.kt:20)
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skiko.Library.findAndLoad(Library.kt:85)
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skiko.Library.load(Library.kt:59)
at mirai-skia-plugin-1.1.9.mirai2.jar//xyz.cssxsh.mirai.skia.MiraiSkiaDowloaderKt.loadJNILibrary(MiraiSkiaDowloader.kt:240)
at mirai-skia-plugin-1.1.9.mirai2.jar//xyz.cssxsh.mirai.skia.MiraiSkiaPlugin$loadJob$1.invokeSuspend(MiraiSkiaPlugin.kt:25)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2022-10-04 21:08:28 E/mirai-skia-plugin: java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.FontMgrKt._nDefault()'
java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.FontMgrKt._nDefault()'
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skia.FontMgrKt._nDefault(Native Method)
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skia.FontMgrKt.access$_nDefault(FontMgr.kt:1)
at mirai-skia-plugin-1.1.9.mirai2.jar[shared]//org.jetbrains.skia.FontMgr.<clinit>(FontMgr.kt:19)
at mirai-skia-plugin-1.1.9.mirai2.jar//xyz.cssxsh.skia.FontUtils.<clinit>(FontUtils.kt:25)
at mirai-skia-plugin-1.1.9.mirai2.jar//xyz.cssxsh.mirai.skia.MiraiSkiaDowloaderKt.loadTypeface(MiraiSkiaDowloader.kt:134)
at mirai-skia-plugin-1.1.9.mirai2.jar//xyz.cssxsh.mirai.skia.MiraiSkiaPlugin.onEnable(MiraiSkiaPlugin.kt:44)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:178)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79)
https://github.com/sgerrand/alpine-pkg-glibc/issues/57
根据这个 issue 你可能需要安装 bash 或者 gcc g++ linux-headers
貌似不行,那个issue我不太看得懂
libc6-compat
试试安装这个包