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-X, which is subscribed to mesa in 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 _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp