That worked. Thanks. I apparently must leave those 3 environment variables updated after installation. So I have this in my .bashrc export LIBRARY_PATH=/usr/lib/i386-linux-gnu/:$LIBRARY_PATH export C_INCLUDE_PATH=/usr/include/i386-linux-gnu:$C_INCLUDE_PATH export CPLUS_INCLUDE_PATH=/usr/include/i386-linux-gnu:$CPLUS_INCLUDE_PATH The University of Glasgow, charity number SC004401