Jelajahi Sumber

fix `./TTREngine: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0: undefined symbol: drmGetDevice2` (image now functional)

Fabian Peter Hammerle 5 tahun lalu
induk
melakukan
e07c26465f
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -24,6 +24,7 @@ RUN mkdir /toontown-rewritten/engine \
 USER player
 VOLUME /toontown-rewritten/engine
 WORKDIR /toontown-rewritten/engine
+ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libdrm.so.2
 # TODO required?
 ENV QT_X11_NO_MITSHM=1
 CMD /toontown-rewritten/launcher/Launcher