cssxsh / mirai-skia-plugin

Mirai Console Skiko/Skia 图像库前置插件
GNU Affero General Public License v3.0
34 stars 1 forks source link

version ’GLIBC_2.2.9' not found #8

Closed OToNaShiAKi closed 2 years ago

OToNaShiAKi commented 2 years ago

QQ截图20220812151503

OToNaShiAKi commented 2 years ago

没有任何java基础,大佬救救

cssxsh commented 2 years ago

请安装 GLIBC_2.2.9,或者更换系统

cssxsh commented 2 years ago
wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz
tar -zxvf glibc-2.29.tar.gz
cd glibc-2.29
./configure --prefix=/opt/glibc
make 
make install
OToNaShiAKi commented 2 years ago

QQ截图20220815144129 下载成功后出现了新的报错

cssxsh commented 2 years ago

QQ截图20220815144129 下载成功后出现了新的报错

请给完整的日志

OToNaShiAKi commented 2 years ago
2022-08-19 14:36:16 W/meme-helper: MemeHelper Handle Exception
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56)
        at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80)
        at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1)
        at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110)
        at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
        at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
        at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511)
        at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
        at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
        at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58)
        at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
        at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
        at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166)
        at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
        at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58)
        at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125)
        at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73)
        at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
        at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        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)
Caused by: java.lang.UnsatisfiedLinkError: /www/wwwroot/Mirai/data/xyz.cssxsh.mirai.plugin.mirai-skia-plugin/lib/libgif-linux-x64.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /www/wwwroot/Mirai/data/xyz.cssxsh.mirai.plugin.mirai-skia-plugin/lib/libgif-linux-x64.so)
        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 mirai-skia-plugin-1.1.7.jar//xyz.cssxsh.gif.Library.loadLibraryOrCopy(Library.kt:26)
        at mirai-skia-plugin-1.1.7.jar//xyz.cssxsh.gif.Library.load$mirai_skia_plugin(Library.kt:65)
        at mirai-skia-plugin-1.1.7.jar//xyz.cssxsh.gif.Library.staticLoad(Library.kt:20)
        at mirai-skia-plugin-1.1.7.jar//xyz.cssxsh.gif.Encoder.<clinit>(Encoder.kt:42)
        at mirai-skia-plugin-1.1.7.jar//xyz.cssxsh.skia.ExampleKt.dear(Example.kt:309)
        at meme-helper-1.1.3.jar//xyz.cssxsh.mirai.meme.impl.MemeDear.replier(MemeDear.kt:60)
        at meme-helper-1.1.3.jar//xyz.cssxsh.mirai.meme.MemeHelper.handle(MemeHelper.kt:27)
cssxsh commented 2 years ago

Caused by: java.lang.UnsatisfiedLinkError

你这不还是 缺少 GLIBC_2.29 吗,你到底安装没有