加载共享库时出错:libEGL.so.1:无法打开共享对象文件:启动游戏时没有此文件或目录

加载共享库时出错:libEGL.so.1:无法打开共享对象文件:启动游戏时没有此文件或目录

我正在尝试在 Linux 上运行 MCPE,我已经设置好一切,但是当我运行游戏时出现此错误:

/tmp/.mount_MinecrC0c2NX/usr/bin/./mcpelauncher-client: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
Process exited with unexpected exit code: 127

我尝试安装 libegl1:i386,但出现另一个错误:

The following packages have unmet dependencies:
 libegl1:i386 : Depends: libc6:i386 (>= 2.7) but it is not going to be installed
                Depends: libglvnd0:i386 (= 1.3.1-1) but it is not going to be installed
                Depends: libegl-mesa0:i386 but it is not going to be installed

我使用的是 Ubuntu 20.04 64 位

答案1

我设法自己修复了这个问题。我的朋友告诉我使用 aptitude 来安装软件包,所以我运行了sudo aptitude install libegl1:i386,然后我使用了sudo aptitude install libc6-i386 libx11-6:i386 libegl1-mesa:i386 zlib1g:i386 libstdc++6:i386 libgl1-mesa-dri:i386 libasound2:i386 libpulse0:i386

相关内容