User Tools

Site Tools


wiki:development:glx-xlib-workaround

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:development:glx-xlib-workaround [2020/08/20 19:08]
uli42 [Debian Buster and Mesa 19.3.2]
wiki:development:glx-xlib-workaround [2020/08/20 20:24]
uli42 add helper script with LD_PRELOAD
Line 42: Line 42:
 $ x2goglx glxinfo $ x2goglx glxinfo
 </code> </code>
 +
 +Some software modifies LD_LIBRARY_PATH itself. In that case you might be successful with LD_PRELOAD. Instead of setting LD_LIBRARY_PATH point to a directory you set LD_PRELOAD to point to the generated library itself:
 +<code>
 +#!/bin/sh
 +LD_PRELOAD=<your directory>/libgl-xlib/libGL.so exec "$@"
 +</code>
 +
 ==== Ubuntu 14.04 ==== ==== Ubuntu 14.04 ====
  
wiki/development/glx-xlib-workaround.txt ยท Last modified: 2021/10/25 21:01 by uli42