64비트 Ubuntu 21.10에서 32비트 소프트웨어를 실행하고 싶지만 오류가 발생합니다.
error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
이는 라이브러리가 64비트이기 때문입니다. 그래서 32비트 버전을 설치해 보았지만 작동하지 않았습니다.
먼저 Ubuntu에 i386 아키텍처를 추가했습니다.
sudo dpkg --add-architecture i386
그런 다음 라이브러리를 설치하려고 합니다.
sudo apt-get -y install libgl1:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gdm3 : Depends: gnome-session but it is not going to be installed or
x-session-manager or
x-window-manager or
x-terminal-emulator
Recommends: gnome-session but it is not going to be installed or
x-session-manager
Recommends: xserver-xephyr but it is not going to be installed
Recommends: xserver-xorg but it is not going to be installed
Recommends: zenity but it is not going to be installed
gnome-session-bin : Depends: libegl1 but it is not going to be installed
Depends: libgl1 but it is not going to be installed
gnome-shell : Depends: evolution-data-server (>= 3.33.1) but it is not going to be installed
Depends: gir1.2-mutter-8 (>= 40.0) but it is not going to be installed
Depends: gir1.2-webkit2-4.0 (>= 2.16.0) but it is not going to be installed
Depends: libmutter-8-0 (>= 40.0) but it is not going to be installed
Recommends: gnome-control-center (>= 1:3.25.2) but it is not going to be installed
Recommends: gnome-user-docs but it is not going to be installed
Recommends: ubuntu-session but it is not going to be installed or
gnome-session but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
어떻게 해결하나요?
귀하의 조언에 미리 감사드립니다.
답변1
노력하다:
sudo apt-get install libgl1-mesa-glx:i386