Hi all,

Setting the compilation variables via ccmake to point to libgdal 1.11.3
worked like a charm. QGIS 2.14 has successfully been built against gdal
1.11.3

Bas, you are right, I inverted them in my previous email. Here are the vars
used in ccmake to build QGIS successfully on my machine

GDAL_CONFIG                      /usr/bin/gdal-config
GDAL_INCLUDE_DIR                 /usr/include/gda
GDAL_LIBRARY                     /usr/lib/libgdal.so

Thanks again, both Bas and Yves, for you kind help

Cheers
Michaƫl

2016-06-08 14:36 GMT+02:00 Bas Couwenberg <[email protected]>:

> On 2016-06-08 14:17, kimaidou wrote:
>
>> It appears I had 2 gdal installed :
>>
>> one by qgis from qgis.org repository ( 1.11) which corresponds to
>> /usr/lib/libgdal.so
>> and one installed via apt-get install gdal-bin from repositories (2.1)
>> which corresponds to : /usr/local/lib/libgdal.so
>>
>
> You got this the wrong way around, the package gdal is installed in
> /usr/lib, you custom build in /usr/local/lib.
>
> The /usr/local hierarchy is reserverd for the local administrator, /usr
> for the system.
>
>
> Kind Regards,
>
> Bas
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to