Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libGL.so.1: cannot open shared object file: No such file or directory #12

Closed
zjm54321 opened this issue Oct 6, 2022 · 1 comment
Closed

Comments

@zjm54321
Copy link

zjm54321 commented Oct 6, 2022

2022-10-06 17:55:21 I/mirai-skia-plugin: platform: linux-x64, skia: m105-f204b137b9-5, skiko: 0.7.32
2022-10-06 17:55:21 I/mirai-skia-plugin: 文件 skiko-awt-runtime-linux-x64-0.7.32.jar 开始下载
2022-10-06 17:55:22 W/stderr: Oct 06, 2022 5:55:22 PM org.apache.coyote.AbstractProtocol init
2022-10-06 17:55:22 W/stderr: INFO: Initializing ProtocolHandler ["http-nio-20044"]
2022-10-06 17:55:22 W/stderr:
2022-10-06 17:55:22 W/stderr: Oct 06, 2022 5:55:22 PM org.apache.catalina.core.StandardService startInternal
2022-10-06 17:55:22 W/stderr: INFO: Starting service [tomcat-default]
2022-10-06 17:55:22 W/stderr:
2022-10-06 17:55:22 W/stderr: Oct 06, 2022 5:55:22 PM org.apache.catalina.core.StandardEngine startInternal
2022-10-06 17:55:22 W/stderr: INFO: Starting Servlet engine: [Apache Tomcat/9.0.55]
2022-10-06 17:55:22 W/stderr:
2022-10-06 17:55:22 W/stderr: Oct 06, 2022 5:55:22 PM org.apache.coyote.AbstractProtocol start
2022-10-06 17:55:22 W/stderr: INFO: Starting ProtocolHandler ["http-nio-20044"]
2022-10-06 17:55:22 W/stderr:
2022-10-06 17:55:27 E/mirai-skia-plugin: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.mirai-skia-plugin of mirai-skia-plugin
java.lang.UnsatisfiedLinkError: /home/ubuntu/mcl/data/xyz.cssxsh.mirai.plugin.mirai-skia-plugin/lib/libskiko-linux-x64.so: libGL.so.1: 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 mirai-skia-plugin-1.1.9.jar[shared]//org.jetbrains.skiko.Library.loadLibraryOrCopy(Library.kt:20)
        at mirai-skia-plugin-1.1.9.jar[shared]//org.jetbrains.skiko.Library.findAndLoad(Library.kt:85)
        at mirai-skia-plugin-1.1.9.jar[shared]//org.jetbrains.skiko.Library.load(Library.kt:59)
        at mirai-skia-plugin-1.1.9.jar//xyz.cssxsh.mirai.skia.MiraiSkiaDowloaderKt.loadJNILibrary(MiraiSkiaDowloader.kt:240)
        at mirai-skia-plugin-1.1.9.jar//xyz.cssxsh.mirai.skia.MiraiSkiaDowloaderKt$loadJNILibrary$1.invokeSuspend(MiraiSkiaDowloader.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
        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)

2022-10-06 17:55:27 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.jar[shared]//org.jetbrains.skia.FontMgrKt._nDefault(Native Method)
        at mirai-skia-plugin-1.1.9.jar[shared]//org.jetbrains.skia.FontMgrKt.access$_nDefault(FontMgr.kt:1)
        at mirai-skia-plugin-1.1.9.jar[shared]//org.jetbrains.skia.FontMgr.<clinit>(FontMgr.kt:19)
        at mirai-skia-plugin-1.1.9.jar//xyz.cssxsh.skia.FontUtils.<clinit>(FontUtils.kt:25)
        at mirai-skia-plugin-1.1.9.jar//xyz.cssxsh.mirai.skia.MiraiSkiaPlugin.onEnable(MiraiSkiaPlugin.kt:45)
        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(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        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)

2022-10-06 17:55:27 I/WordCloudPlugin: WordCloudPlugin Plugin loaded
2022-10-06 17:55:27 E/JvmPluginLoader: Failed to enable 'BiliBili Dynamic' because dependencies not enabled: 'mirai-skia-plugin'
2022-10-06 17:55:28 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2022-10-06 17:55:28 E/mirai-hibernate-plugin: Sqlite 不支持并发, 将替换为 H2Database
@cssxsh cssxsh changed the title 无法运行 libGL.so.1: cannot open shared object file: No such file or directory Oct 6, 2022
@cssxsh
Copy link
Owner

cssxsh commented Oct 6, 2022

安装 openGL
参考指令
sudo apt-get install libgl1-mesa-dev

@cssxsh cssxsh closed this as completed Oct 6, 2022
@cssxsh cssxsh pinned this issue Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants