[Qgis-user] Compile Master with Debian Bullseye

Piet plist at posteo.eu
Thu Jun 23 00:36:58 PDT 2022


Dear List,


I like to compile Qgis Master with Debian Bullseye following the 
building guide https://github.com/qgis/QGIS/blob/master/INSTALL.md

for Debian.

"make" failed with this error:


make[2]: *** [src/core/CMakeFiles/qgis_core.dir/build.make:15201: 
output/lib/libqgis_core.so.3.27.0] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:4208: 
src/core/CMakeFiles/qgis_core.dir/all] Fehler 2
make: *** [Makefile:166: all] Fehler 2


and logs a lot of similar messages like:


/usr/bin/ld: CMakeFiles/qgis_core.dir/raster/qgsrasterfilewriter.cpp.o: 
in function `QgsRasterFileWriter::extensionsForFormat(QString const&)':
qgsrasterfilewriter.cpp:(.text+0x7614): undefined reference to 
`GDALGetDriverByName'
/usr/bin/ld: qgsrasterfilewriter.cpp:(.text+0x7640): undefined reference 
to `GDALGetMetadata'
/usr/bin/ld: qgsrasterfilewriter.cpp:(.text+0x765f): undefined reference 
to `CSLFetchBoolean'
/usr/bin/ld: qgsrasterfilewriter.cpp:(.text+0x7683): undefined reference 
to `GDALGetMetadataItem'


Could you give me a tipp?


Thank you!


Kind regards

Piet




More information about the Qgis-user mailing list