Ubuntu 18.04 error: libc++_shared.so is missing

Ubuntu 18.04 error: libc++_shared.so is missing

我想在 Ubuntu 18.04 上 运行 Minecraft 基岩版 (mcpe)。这是我使用https://markperez.dev/blog/install-minecraft-bedrock-linux-any-distro/的教程。 我在安装此程序和 运行ning minecraft .apk 文件后 看到此错误:

14:26:48 Info  [Launcher] CPU: GenuineIntel Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
14:26:48 Info  [Launcher] CPU supports SSSE3: YES
14:26:48 Trace [Launcher] Loading hybris libraries
14:26:48 Trace [HybrisUtils] Loaded OS library /usr/share//mcpelauncher/libs/native/libfmod.so.9.16
14:26:48 Trace [HybrisUtils] Loaded OS library libm.so.6
14:26:48 Trace [HybrisUtils] Loaded OS library libz.so.1
14:26:48 Trace [Launcher] Loading Minecraft library
linkerterminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to load Minecraft: Cannot load library: link_image[1965]:     0 could not load needed library 'libc++_shared.so' for 'libminecraftpe.so' (load_library[1115]: Library 'libc++_shared.so' not found)
Signal 6 received
Backtrace elements: 13
#0 /usr/bin/mcpelauncher-client(_ZN12CrashHandler12handleSignalEiPv+0xc5) [0x567cc729]
#1 linux-gate.so.1(__kernel_sigreturn+0) [0xf7fd0b70]
#2 linux-gate.so.1(__kernel_vsyscall+0x9) [0xf7fd0b59]
#3 /lib/i386-linux-gnu/libc.so.6(gsignal+0xc2) [0xf78a2882]
#4 /lib/i386-linux-gnu/libc.so.6(abort+0x121) [0xf78a3d11]
#5 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x6e97d) [0xf7c0097d]
#6 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x76174) [0xf7c08174]
#7 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x761dd) [0xf7c081dd]
#8 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x764dc) [0xf7c084dc]
#9 /usr/bin/mcpelauncher-client(_ZN14MinecraftUtils16loadMinecraftLibERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x183) [0x567cdc03]
#10 /usr/bin/mcpelauncher-client(main+0xff8) [0x567686d4]
#11 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf788de91]
#12 /usr/bin/mcpelauncher-client(+0x1dc0f1) [0x567670f1]
Dumping stack...
Process exited with unexpected exit code: 6

但这不是主要问题。 主要问题是缺少 libc++.so 库。 我尝试安装 libc++1库,但它不起作用。

PLEASE HELP ME!

尝试使用这些命令:

sudo apt-get update
sudo apt-get install libc++-dev

Have a look at other posts also