[Qgis-developer] Some updated info for compiling qgis under ubuntu

Agustin Lobo alobolistas at gmail.com
Fri Jul 12 01:44:36 PDT 2013


Because of the broken dependencies of the nightly-build, just compiled
qgis master under linuxmint 15, which is based on ubuntu raring.

I followed
http://www.qgis.org/api/INSTALL.html#toc3

with the following changes/additions/notes:

1 I installed dependencies for precise (no newer versions recorded in
that page...)
2. sudo apt-get install cmake-curses-gui
3. ccmake ..
Changed:
CMAKE_INSTALL_PREFIX=${HOME}/apps
QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
/usr/lib/x86_64-linux-gnu/libpython2.7.so

4. After make and make install, I try
$HOME/apps/bin/qgis
/home/alobo/apps/bin/qgis: error while loading shared libraries:
libqgis_core.so.1.9.0: cannot open shared object file: No such file or
directory

but libqgis_core.so.1.9.0 has just been installed under ${HOME}/apps/lib, thus
export LD_LIBRARY_PATH=/home/alobo/apps/lib

and qgis works (somehow, though: it's a dev version)

Agus


More information about the Qgis-developer mailing list