LiteHell의 Gravatar 아이콘

LiteHell의 블로그

글 쓸 때는 AI를 안 씁니다. 전부 직접 씁니다. 만약 오탈자나 어색한 문장이 있다면 퇴고를 대충해서 그런거니 양해 부탁드립니다.
블로그의 모든 시간 및 날짜는 별도의 언급이 없다면 한국 표준 시간대입니다.

64비트 페도라에서 libGL (MESA-LOADER) 오류 해결하는 방법

32비트 라이브러리가 없어서 생기는 문제

2025. 11. 25. 오후 10:11:43에 LiteHell이(가) 작성함.

문제

64비트 페도라에서 umu-launcher나 wine으로 게임을 실행하면 다음과 같은 오류가 발생할 수 있다.

libGL error: MESA-LOADER: failed to open iris: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/iris_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  537
  Current serial number in output stream:  536

해결방법

이거 그냥 32비트 라이브러리가 설치되어 있지 않아서 그렇다. 32비트 라이브러리를 설치하면 해결된다.

sudo dnf install mesa-libGL.i686