加載共享庫時出錯:libEGL.so.1:無法打開共享對象文件:啟動遊戲時沒有此類文件或目錄


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

I managed to fix it myself. My friend told me to use aptitude to install the packages, so I ran sudo aptitude install libegl1:i386, then I used sudo aptitude install libc6-i386 libx11-6:i386 libegl1-mesa:i386 zlib1g:i386 libstdc++6:i386 libgl1-mesa-dri:i386 libasound2:i386 libpulse0:i386