Comment 48 for bug 1002187

Revision history for this message
Lastique (andysem) wrote :

#31 and #43 work for me with proprietary Nvidia drivers, but only up to the next time I run Nvidia driver command line installer. Apparently, the installer removes /usr/lib/i386-linux-gnu/mesa/libGL.so.1 and libGL.so.1.2.0 when you install 32 bit libs (so that Nvidia's libGL.so.1 is found by the linker instead).

To make the solution permanent and safe you have to manually download libgl1-mesa-glx_9.1.1-0ubuntu3_i386.deb package and extract its CONTENTS/usr/lib/i386-linux-gnu/mesa somewhere safe, and where the linker won't find it by default (I've put it to /usr/local/lib/i386-linux-gnu/skype_mesa). Then modify /usr/bin/skype to preload libGL.so.1 from that location instead. So in my case it looked like this:

export LD_PRELOAD="/usr/local/lib/i386-linux-gnu/skype_mesa/libGL.so.1${LD_PRELOAD:+:}$LD_PRELOAD"
exec /usr/lib/skype/skype "$@"