[Qgis-user] recompiling gdal: problems with QGIS?

Craig Leat craig.leat at gmail.com
Thu Oct 16 00:48:03 PDT 2008


Hi Agustin

Agustin Lobo wrote:
> Considering that I have QGIS installed from binaries
> for ubuntu, should I generate another version of gdal or should
> I remove the gdal that I have first? In the second case,
> will I be able to tell QGIS where the new gdal is
> or would I have to compile QGIS as well?

A general rule is: "DO NOT mix binaries from the repos with self
compiled components". If you want to self compile then be prepared to
compile the entire tool chain (gdal, grass, gdal-grass-plugin, qgis).
I know this rule is not absolute in the sense that I use binaries for
qt, postgresql, etc, but at least for the core packages it is a rule
which saves a lot of potential pain. Also be aware that maintaining
binaries from the repo and a self compiled version at the same time
(parallel installation of the entire tool chain) is tricky. The
software may compile against the correct version of a dependency, but
then may load the incorrect version at run time. Building is straight
forward *IF* you have a clean system.

Hope this helps.

Craig



More information about the Qgis-user mailing list