Quantum GIS (QGIS)
Building QGIS from source - step by step¶
The INSTALL file included in QGIS source code repository is the file to take a look into.
Tips¶
error while loading shared libraries: libqgis_core.so.1.8.0: cannot open shared object file: No such file or directory¶
If you have this error while loading a compiled qgis, you can try this:
# get the full lib path, for example "/home/myusername/src/qgis/Quantum-GIS/build/lib/" (no wildcard ~) # copy this path to a new file /etc/ld.so.conf.d/qgis.conf (on Ubuntu distribution. This can change a bit) sudo su echo "/home/myusername/src/qgis/Quantum-GIS/build/lib/" > /etc/ld.so.conf.d/qgis.conf exit # ldconfig sudo ldconfig # verify with ldd ldd /home/myusername/src/qgis/Quantum-GIS/build/bin/qgis | grep "libqgis"