<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2015/01/16 12:20, Homme Zwaagstra
wrote:<br>
</div>
<blockquote cite="mid:54B8E5F0.9060501@geodata.soton.ac.uk"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hi,<br>
<br>
On 16/01/15 07:45, Zoltan Szecsei wrote:<br>
<span style="white-space: pre;">> Hi,<br>
> I compiled QGIS 2.7 successfully on ubuntu 14.10, and then
noticed that it had gdal 1.10, so I downloaded the source for
gdal 1.11.1 and compiled it. > The trouble is that running
gdalinfo --version still gives me the 1.10 version. > Can
anyone spot my deliberate error?</span><br>
<br>
Have you tried running the ldconfig command after running `make
install` on<br>
GDAL? This should solve the dynamic link issues resulting in the
version errors<br>
you're experiencing when running the GDAL 1.11.1 binaries. <br>
<br>
Alternatively you can adjust the `LD_LIBRARY_PATH` environment
variable to point<br>
to `/usr/local/lib` e.g.<br>
<br>
LD_LIBARY_PATH=/usr/local/lib ; /usr/local/bin/gdalinfo
--version<br>
</blockquote>
Thanks both Even & Homme for the comments.<br>
Interestingly, I left it for a few days as I had other priorities,
and now that I've powered up the PC again, it all works! (implying
that I had some other funny setting for that session).<br>
Regards,<br>
Zoltan<br>
<br>
<blockquote cite="mid:54B8E5F0.9060501@geodata.soton.ac.uk"
type="cite"> <br>
You should also compile any dependent software after installing
your custom GDAL<br>
i.e. compile GDAL first then QGIS.<br>
<br>
Best regards,<br>
<br>
Homme<br>
<span style="white-space: pre;"></span><br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>