<div dir="ltr"><div class="gmail_default" style="font-size:large">Yves, thanks for your answer<br><br></div><div class="gmail_default" style="font-size:large">It appears I had 2 gdal installed : <br><br>one by qgis from <a href="http://qgis.org">qgis.org</a> repository ( 1.11) which corresponds to  /usr/lib/libgdal.so  <br>and one installed via apt-get install gdal-bin from repositories (2.1) which corresponds to : /usr/local/lib/libgdal.so<br><br></div><div class="gmail_default" style="font-size:large">So I changed GDAL lib directory and gdal-config path in ccmake, and run the build again. It should do the trick<br></div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">I will report back if this solves the issue I had<br></div><div class="gmail_default" style="font-size:large"><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-08 14:09 GMT+02:00 Yves Jacolin <span dir="ltr"><<a href="mailto:yjacolin@free.fr" target="_blank">yjacolin@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wednesday, June 08, 2016 13:49:53 kimaidou wrote:<br>
> Hi Bas,<br>
><br>
> Thanks for your answer.<br>
> It appears I built gdal on year ago to check GeoJson write capabilities in<br>
> QGIS.<br>
><br>
> Now, I have indeed just upgraded to last Ubuntu xenial, and I am trying to<br>
> get rid of old GDAL build and reinstall GDAL from repositories. So I<br>
> removed all symlinks made earlier today, I remove old Gdal build, remove<br>
> all lines concerning GDAL in /etc/ld.so.conf.d/. I ran ldconfig<br>
><br>
> Then uninstalled qgis and gdal-bin + libgdal and others, restarted my<br>
> computer<br>
><br>
> It still does not work.<br>
> mdouchin@mdouchin-Lenovo-U41-70:~$ ldd /usr/local/bin/gdalinfo | grep "not<br>
> found"<br>
>     libnetcdf.so.7 => not found<br>
>     libgif.so.4 => not found<br>
><br>
> I will do some more googling....<br>
</div></div>If you install Gdal from package, why do you have such path to your gdal:<br>
/usr/local/bin/gdalinfo<br>
<br>
How did you clean up gdal build? "make clean" don't remove gdal installation,<br>
you should remove the directory by hand.<br>
<span class="HOEnZb"><font color="#888888"><br>
Y.<br>
</font></span></blockquote></div><br></div>