[QGIS-Developer] undefined symbol: GDALAutoCreateWarpedVRTEx

Jorge Gustavo Rocha jgr at di.uminho.pt
Tue Jan 19 03:11:51 PST 2021


Hi Even,

Thanks for the feedback. You are absolutely right. My test scripts were
introducing a dependency that install the old libgdal26.

Easy to fix, after your feedback.

Regards,

Jorge

Às 10:06 de 19/01/21, Even Rouault escreveu:
> On mardi 19 janvier 2021 09:55:46 CET Jorge Gustavo Rocha wrote:
>> Hi,
>>
>> Just an additional comment. The GDALAutoCreateWarpedVRTEx is there, as
>> far as I can see.
>>
>> nm -g libqgis_core.so.3.16.3 | grep GDALAutoCreateWarpedVRTEx
>>                  U GDALAutoCreateWarpedVRTEx
>>
>> But if the symbol is defined in the library, why do I get this error?
> 
> The U means undefined. Which is expected. libqgis_core imports the symbol from 
> libgdal.
> What I suspect here is that QGIS is built against a libgdal 3.2.x (QGIS only 
> tries to use GDALAutoCreateWarpedVRTEx if GDAL headers are >= 3.2), but at 
> runtime links against an older one.
> 
> Even
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor


More information about the QGIS-Developer mailing list