[Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

kimaidou kimaidou at gmail.com
Wed Jun 8 02:46:06 PDT 2016


Ok, I think I found the issue. I have a problem with GDAL

gdalinfo --formats

returns

gdalinfo: error while loading shared libraries: libnetcdf.so.7: cannot open
shared object file: No such file or directory

Here are the command lines used to make gdalinfo happy (quite hackish ... )

ln -s /usr/lib/x86_64-linux-gnu/libgif.so
/usr/lib/x86_64-linux-gnu/libgif.so.4
ln -s /usr/lib/x86_64-linux-gnu/libnetcdf.so
/usr/lib/x86_64-linux-gnu/libnetcdf.so.7
echo "/usr/lib/x86_64-linux-gnu/" >> /etc/ld.so.conf.d/qgis.conf
ldconfig

Now gdalinfo does not complain anymore, but the build does not succeed
either, see
https://paste.sh/l2Jdh0Bt#5wrhkbMFV3nUwfnsHdLhfZ5U



2016-06-08 11:14 GMT+02:00 kimaidou <kimaidou at gmail.com>:

> I just tested if with one proc only, which helps to see the errors. Here
> they are
>
> https://paste.sh/24JYwaQj#WXMylljn7ATP3KB7UM2TdbhZ
>
>
>
> 2016-06-08 10:45 GMT+02:00 kimaidou <kimaidou at gmail.com>:
>
>> Hi all
>>
>> I am trying to build QGIS release-2_14 in my Ubuntu 16.04. I have
>> installed dependencies listed in the INSTALL.md file, and tried it with a
>> clean build directory and ccache emptied
>>
>> I use QGIS official repo
>> deb       http://qgis.org/debian xenial main
>> deb-src http://qgis.org/debian xenial main
>>
>>
>> Here is my ccmake cl :
>>
>> cd /home/mdouchin/src/qgis/build/2_14/
>> ccmake -DCMAKE_INSTALL_PREFIX=/home/mdouchin/src/qgis/build/2_14
>> -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=False
>> -DWITH_INTERNAL_QWTPOLAR=True -DWITH_SERVER=True -DWITH_GRASS=False
>> -DWITH_GRASS7=False ../../source/QGIS/
>>
>> Here are the errors during the build process
>>
>> src/crssync/CMakeFiles/crssync.dir/build.make:112 : la recette pour la
>> cible « output/bin/crssync » a échouée
>>
>> I have no really other helpfull erros here. Has anyone had problem with
>> crssync with last ubuntu ?
>>
>>
>> Thanks in advance
>> Michaël
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160608/eb9cb74a/attachment-0001.html>


More information about the Qgis-developer mailing list