[QGIS-Developer] QGIS build error in Ubuntu 18.04

Samweli smwltwesa6 at gmail.com
Mon Mar 30 08:13:56 PDT 2020


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
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
[ 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

More information about the QGIS-Developer mailing list