[Qgis-user] QGIS - gdal

Matt Boyd mattslists at gmail.com
Mon Mar 3 19:08:30 PST 2014


Hi Paulo,
I'm a little out of practice configuring gdal in linux, but I vaguely
recall doing something like this a while ago, my apologies if this is a too
obvious.
Have you looked at the gdal tool settings in the raster menu of qgis?

Matt


On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel <p.vanbreugel at gmail.com>wrote:

>  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
>       - #!/bin/sh
>       -
>       LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib"
>       - export LD_LIBRARY_PATH
>
> Any idea what to do next?
>
> Paulo
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140304/ac4f990f/attachment.html>


More information about the Qgis-user mailing list