Previously in (K)ubuntu 13.04, I could play Team Fortress 2 (TF2) on my nvidia-optimus laptop using bumblebee.
I would do this by setting its launch options in Steam to
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optirun %command%
Since the upgrade to (K)ubuntu 13.10, TF2 will not start from steam. Using the hl2-optirun.sh
script from the above answer also fails on the terminal with
./hl2_linux: error while loading shared libraries: libturbojpeg.so: cannot open shared object file: No such file or directory
How can I get TF2 to run?