[Qgis-user] QGIS - gdal

Paulo van Breugel p.vanbreugel at gmail.com
Mon Mar 3 02:41:41 PST 2014


Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except for 
any function  that relies on gdal (raster menu or the gdal functions in 
the processing toolbox). The functions work without problem on the 
command line, but QGIS cannot find gdal it seems.

I compiled QGIS with the following gdal settings:

  * GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
  * GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
  * GDAL_CONFIG_PREFER_PATH = /bin
  * GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
  * GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

I am actually not sure about the 2nd and 3rd.  Are those settings correct?

I compiled gdal 1.10 from source in /usr/local/gdal and tried all the 
following:

  * added a gdal.conf file with the gdal lib path in the
    etc/ld.so.conf.d folder (ran ldconfig)
  * created a softlink of the usr/local/gdal1.10/bin folder in /usr/bin
  * defined gdal paths in /home/paulo/.bashrc by adding the line: export
    PATH=$PATH:/usr/local/gdal1.10/bin
  * created executable file libraries.sh in /etc/profile.d with the lines
      o #!/bin/sh
      o LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib"
      o export LD_LIBRARY_PATH

Any idea what to do next?

Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140303/e80c966d/attachment.html>


More information about the Qgis-user mailing list