I am running Linux Mint 15 64bit. My laptop has a Geforce 640M Optimus card, so I installed bumblebee according to the installation instructions (Basic Setup). Using optirun to run programs (e.g. Steam) works as intended. However, certain programs like Skype, now show
error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
when not run with optirun. I do not want Skype to run on the dedicated card, so this is an issue. The following libGL.so.1 files are found on my system:
/usr/lib32/nvidia-304/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/nvidia-304/libGL.so.1
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
If I run
LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype
all works well.
This is the output for update-alternatives --query i386-linux-gnu_gl_conf:
Name: i386-linux-gnu_gl_conf
Link: /etc/ld.so.conf.d/i386-linux-gnu_GL.conf
Slaves:
i386-linux-gnu_xorg_extra_modules /usr/lib/i386-linux-gnu/xorg/extra-modules
Status: auto
Best: /usr/lib/nvidia-304/alt_ld.so.conf
Value: /usr/lib/nvidia-304/alt_ld.so.conf
Alternative: /usr/lib/i386-linux-gnu/mesa/ld.so.conf
Priority: 500
Slaves:
i386-linux-gnu_xorg_extra_modules /usr/lib/i386-linux-gnu/xorg/x11-extra-modules
Alternative: /usr/lib/nvidia-304/alt_ld.so.conf
Priority: 9701
Slaves:
I tried updating the alternatives to the mesa one, but this does not fix the problem.
What do I have to do to get GL support without optirun?
Thank you for any hints!
LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
to~/.bashrc
and~/.profile
does it work after a reboot?