[QGIS-Developer] QGIS build error in Ubuntu 18.04

Stephen Knox stephenknox73 at gmail.com
Mon Mar 30 12:18:32 PDT 2020


Hi Samweli,

I had the same issue. I was also using PROJ 7, and getting an identical
error. It looks like this issue might be related to this one:
https://github.com/qgis/QGIS/issues/35195, so this looks unlikely to be an
isolated issue.

I was able to resolve by downgrading to PROJ 6.3.1, but clearly that isn't
a long-term solution. I'm not clear whether this is related to Proj 7
itself or the way that QGIS is using it.

Stephen

On Mon, Mar 30, 2020 at 4:14 PM Samweli <smwltwesa6 at gmail.com> wrote:

> Hi,
>
> Recently when I build QGIS from ubuntu 18.04 after an update on gdal
> libraries from ubuntu repositories, I get this error
>
> [ 67%] Running crssync
> free(): invalid pointer
> Aborted
> src/crssync/CMakeFiles/synccrsdb.dir/build.make:57: recipe for target
> 'src/crssync/CMakeFiles/synccrsdb' failed
> make[2]: *** [src/crssync/CMakeFiles/synccrsdb] Error 134
> CMakeFiles/Makefile2:4322: recipe for target
> 'src/crssync/CMakeFiles/synccrsdb.dir/all' failed
> make[1]: *** [src/crssync/CMakeFiles/synccrsdb.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 67%] Building CXX object
>
> tests/src/core/CMakeFiles/qgis_sqliteutilstest.dir/qgis_sqliteutilstest_autogen/mocs_compilation.cpp.o
> [ 67%] Built target qgis_25drenderertest
> [ 67%] Linking CXX executable ../../../output/bin/qgis_sqliteutilstest
> [ 67%] Built target qgis_hstoreutilstest
> [ 67%] Built target qgis_sqliteutilstest
> Makefile:162: recipe for target 'all' failed
>
> Running *dpkg -l | grep gdal *gives this output
>
> ii  libproj-dev:amd64
> 7.0.0-1~bionic0                          amd64        Cartographic
> projection library (development files)
> ii  libproj19:amd64
> 7.0.0-1~bionic0                          amd64        Cartographic
> projection library
> ii  libwebrtc-audio-processing1:amd64                           0.3-1
>
> amd64        AudioProcessing module from the WebRTC project.
> ri  proj-data
> 7.0.0-1~bionic0                          all          Cartographic
> projection filter and library (datum package)
> ii  python3-incremental                                         16.10.1-3
>
> all          Library for versioning Python projects.
> ii  python3-jupyter-core                                        4.4.0-2
>
> all          Core common functionality of Jupyter projects for Python 3
> ii  python3-pyproj
> 2.5.0+ds-1~bionic0                       amd64        Python 3 interface to
> PROJ library
> ii  xfwm4
> 4.12.5-1ubuntu0.18.04.1                  amd64        window manager of the
> Xfce project
>
>
> and running *dpkg -l | grep gdal*
>
> ii  gdal-bin
> 3.0.4+dfsg-1~bionic0                     amd64        Geospatial Data
> Abstraction Library - Utility programs
> ii  gdal-data
> 3.0.4+dfsg-1~bionic0                     all          Geospatial Data
> Abstraction Library - Data files
> ii  libgdal-dev
> 3.0.4+dfsg-1~bionic0                     amd64        Geospatial Data
> Abstraction Library - Development files
> ii  libgdal26
> 3.0.4+dfsg-1~bionic0                     amd64        Geospatial Data
> Abstraction Library
> ii  python3-gdal
> 3.0.4+dfsg-1~bionic0                     amd64        Python 3 bindings to
> the Geospatial Data Abstraction Library
>
>
> Any help will truly be appreciated. Thanks.
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200330/35007918/attachment.html>


More information about the QGIS-Developer mailing list