Opened 2 months ago

Closed 2 months ago

Last modified 8 weeks ago

#870 closed defect (worksforme)

qgis-dev: crssync.exe fails in postinstall for missing gdal310.dll

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc:

Description

Installing qgis-dev qgis-dev-3.41.0-895-6e793522b5-1 and all dependencies, the postinstall procedure fails for missing gdal310.dll

Change History (5)

by andreaerdna, 2 months ago

Attachment: Immagine.png added

Installation failure

comment:1 by andreaerdna, 2 months ago

qgis-dev also fails to start if gdal310.dll is missing.

The issue may be due to the fact that qgis_app.dll, qgis_gui.dll and qgis_core.dll (in qgis-dev\bin) depend on pdalcpp.dll (in bin) which in turn depends on gdal310.dll (in bin). I think it would be better if qgis-dev dll used a pdalcpp.dll built against gdaldev (like qgis-dev itself) and not the one built against gdal.

comment:2 by jef, 2 months ago

Why is gdal310.dll missing? qgis-dev depends on pdal-libs, which in turn depends on gdal310-runtime which contains gdal310.dll.

comment:3 by jef, 2 months ago

Resolution: worksforme
Status: newclosed

not reproducable with qgis-dev-3.43.0-897-886a9ce085-1

comment:4 by andreaerdna, 8 weeks ago

Actually the description of the issue was inaccurate. I had both qgis and qgis-dev installed at the same time. I had updated qgis-dev and gdal-dev without also updating qgis and gdal, since I know qgis-dev is build against gdal-dev, not gdal. The qgis-dev didn't install properly (crssync.exe failed) and it didn't start with the following error:

qgis-dev-bin.exe - Entry Point Not Found

The procedure entry point
??GlobalParams@@QEAA@PEBD@Z could not be located in the dynamic link library
C:\OSGeo4W\bin\gdal310.dll.

I removed gdal310.dll in order to ensure it was the cause of the issue, and then I found that qgis-dev depends on gdal-dev but it also depends on pdalcpp which depends on gdal.

I think it would be better if qgis-dev used a dedicated pdalcpp built against gdaldev (like qgis-dev itself) and not the one built against gdal.

Last edited 8 weeks ago by andreaerdna (previous) (diff)
Note: See TracTickets for help on using tickets.