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

library "libminecraftpe.so" not found #715

Closed
fortalls opened this issue Sep 2, 2022 · 4 comments
Closed

library "libminecraftpe.so" not found #715

fortalls opened this issue Sep 2, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@fortalls
Copy link

fortalls commented Sep 2, 2022

I get the error when trying to launch mcpelauncher-client but libminecraftpe.so exists
image

mcpelauncher-client $ ./mcpelauncher-client -dg ~/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.18.20.21
15:28:46 Info  [Launcher] Version: client c521350 / manifest f22b0a7
15:28:46 Info  [Launcher] CPU: GenuineIntel Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
15:28:46 Info  [Launcher] CPU supports SSSE3: YES
15:28:46 Trace [Launcher] Loading hybris libraries
15:28:46 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /home/mog/.local/share/mcpelauncher/
15:28:46 Trace [REDIRECT] /data/data/home/mog/mcpelauncher/build/proc/26547/cmdline to /home/mog/.local/share/mcpelauncher/
15:28:46 Trace [REDIRECT] /data/data/./mcpelauncher-client to /home/mog/.local/share/mcpelauncher/
15:28:46 Trace [REDIRECT] /data/data to /home/mog/.local/share/mcpelauncher/
15:28:46 Trace [LinkerUtils] Loaded OS library libm.so.6
15:28:46 Trace [LinkerUtils] Loaded OS library libz.so.1
15:28:47 Trace [LinkerUtils] Loaded OS library /home/mog/mcpelauncher/mcpelauncher-linux-bin/lib/native/x86_64/libfmod.so.12.0
15:28:47 Trace [Launcher] Loading Minecraft library
15:28:47 Error [MinecraftUtils] Failed to load Minecraft: dlopen failed: library "libminecraftpe.so" not found
15:28:47 Error [Launcher] Failed to load Minecraft library, please reinstall or wait for an update to support the new release

@fortalls fortalls added the bug Something isn't working label Sep 2, 2022
@ChristopherHX
Copy link
Member

Compile this launcher for x86 ( also called i386 or i686 ), it can only load games with the same arch as the launcher.

The Launcher you built is for x86_64 and only looks for the lib/x86_64 folder and not any other lib folder.

Sounds like the error message could be improved

@fortalls
Copy link
Author

fortalls commented Sep 2, 2022

Thank you so much this worked

@fortalls fortalls closed this as completed Sep 2, 2022
@ItsProfessional
Copy link

Compile this launcher for x86 ( also called i386 or i686 ), it can only load games with the same arch as the launcher.

how do I do that? do I have to modify CmakeLists.txt or the Makefile?

@ItsProfessional
Copy link

@ChristopherHX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants