Today when I went to start up QGIS on my Arch Linux box I noticed it failed. When I went to start it in terminal I got the following error:

qgis: error while loading shared libraries: cannot open shared object file: No such file or directory

This is because the QGIS is looking for the libgdal libraries that no longer exist at that location. To fix this we can create a symbolic link to the correct location.

To find the correct location we can search the /usr/lib directory:

$ ls /usr/lib/*libgdal*

In this case I found the that is the one I need, where and are just symbolic links to

So let’s create a symbolic link to from

# ln -s /usr/lib/ /usr/lib/

After this fix, qgis seems to start up as expected. Simple enough right?

Thanks for reading! If this helped you, feel free to let me know on twitter or whatever.

Edit 2015-11-08: fixed second command to read ln (link) not ls.