Thanks Peter Würtz! So it seems the workaround can be simplified to
import ctypes
ctypes.CDLL('libGL.so.1', ctypes.RTLD_GLOBAL)
or
import ctypes.util
ctypes.CDLL(ctypes.util.find_library('GL'), ctypes.RTLD_GLOBAL)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941826
Title:
PyQt cannot compile shaders with Ubuntu's Nvidia drivers
To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/941826/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs