Hello Linux Geeksters. For those who don’t know, Bumblebee is a project aiming to support the Nvidia Optimus technology on Linux systems. Nvidia Optimus provides increased performance for laptops using Nvidia hardware. In the latest months, Nvidia improved the Linux sypport for their drivers and begin to provide good documentation and offer guidance to the Nouveau developers, in order to successfully re-engineer the Nvidia drivers for Linux.
If you have tried to install Bumblebee on Ubuntu 13.10 Saucy Salamander, you got this issue for sure: “error while loading shared libraries: libturbojpeg.so: cannot open shared object file: No such file or directory”
In this article I will show you how to successfully fix the Bumblebee installation error on Ubuntu 13.10 Saucy Salamander.
On Ubuntu 13.10 Saucy Salamander, the libturbojpeg kernel module is named libturbojpeg.so.0, instead of libturbojpeg.so, how it was supposed. To fix this issues you can either create a symlink called libturbojpeg.so pointing to libturbojpeg.so.0 or rename the kernel module and load it in the system with modprobe, but this is more difficult.
I will show you how to symlink the needed library to the existing one, for both 32 bit and 64 bit architecture.
For 32 bit systems:
$ sudo ln -s /usr/lib/i386-linux-gnu/libturbojpeg.so.0 /usr/lib/i386-linux-gnu/libturbojpeg.so
For 64 bit systems:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so