#870 closed defect (worksforme)
qgis-dev: crssync.exe fails in postinstall for missing gdal310.dll
Reported by: | andreaerdna | Owned by: | |
---|---|---|---|
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 , 2 months ago
Attachment: | Immagine.png added |
---|
comment:1 by , 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 , 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 , 2 months ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
not reproducable with qgis-dev-3.43.0-897-886a9ce085-1
comment:4 by , 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.
Installation failure