<div dir="ltr">Hi Paulo,<div>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.</div><div>Have you looked at the gdal tool settings in the raster menu of qgis?</div>
<div><br></div><div>Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000099">
    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.<br>
    <br>
    I compiled QGIS with the following gdal settings:<br>
    <ul>
      <li>GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config</li>
      <li>GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe</li>
      <li>GDAL_CONFIG_PREFER_PATH = /bin</li>
      <li>GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include</li>
      <li>GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so</li>
    </ul>
    I am actually not sure about the 2nd and 3rd.  Are those settings
    correct?<br>
    <br>
    I compiled gdal 1.10 from source in /usr/local/gdal and tried all
    the following:<br>
    <ul>
      <li>added a gdal.conf file with the gdal lib path in the
        etc/ld.so.conf.d folder (ran ldconfig)<br>
      </li>
      <li>created a softlink of the usr/local/gdal1.10/bin folder in
        /usr/bin</li>
      <li>defined gdal paths in /home/paulo/.bashrc by adding the line:
        export PATH=$PATH:/usr/local/gdal1.10/bin</li>
      <li>created executable file libraries.sh in /etc/profile.d with
        the lines </li>
      <ul>
        <li>#!/bin/sh</li>
        <li>LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib"</li>
        <li>export LD_LIBRARY_PATH</li>
      </ul>
    </ul>
    Any idea what to do next?<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Paulo<br>
  </font></span></div>

<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>