#660 closed defect (fixed)
Installation of QGIS-ltr 3.16.4 (32bit) failed
Reported by: | Andreas Müller | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description
I just tried to (fresh) install the new ltr, but the installs reported errors. Rebooting and starting qgis says DLL not found: qgis_app.dll, but which exists. I attached the log file.
Attachments (4)
Change History (9)
by , 4 years ago
Attachment: | setup.log.full.zip added |
---|
by , 4 years ago
Attachment: | setup.log.full_x64.zip added |
---|
by , 4 years ago
Attachment: | workspaces_2021-02-22_04-38-50.png added |
---|
by , 4 years ago
Attachment: | workspaces_2021-02-22_05-05-51.png added |
---|
comment:1 by , 4 years ago
I also experienced this using the 64-bit OSGeo4W Setup utility (see attached for setup log file). During the postinstall script for qgis-ltr-common, I got an error message stating that crssync.exe couldn't start "because libprotobuf-lite.dll is missing" (see attached image). The installer then reported the following info "qgis-ltr-common.bat exit code -1073741515".
Launching QGIS then failed as it "could not load qgis_app.dll" (see attached image).
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 4 comment:3 by , 4 years ago
Is this fixed in the current release? I am still getting the above error when upgrading an existing 3.10.x installation to 3.16.4
follow-up: 5 comment:4 by , 4 years ago
Replying to peetwhittaker:
Is this fixed in the current release? I am still getting the above error when upgrading an existing 3.10.x installation to 3.16.4
If you are refering to the libprotobuf-lite.dll error - yes, the missing dependency to protobuf was added to qgis-ltr-common.
comment:5 by , 4 years ago
Replying to jef:
If you are refering to the libprotobuf-lite.dll error - yes, the missing dependency to protobuf was added to qgis-ltr-common.
Yes, sorry - I updated an existing QGIS 3.10.9 installation and got the "could not load qgis_app.dll" error message when launching QGIS so just assumed it was the same issue. Looking at the packages, it appears that protobuf is indeed installed.
It turns out that the issue was caused by running the osgeo4w-setup-x86_64.exe installer without the --upgrade-also option (see command below). Adding this fixed the issue. However, I am somewhat surprised that updating a package doesn't also update its dependencies automatically? Apologies if this is getting off-topic, happy to discuss on another ticket/on the mailing list/elsewhere :)
Command used to update QGIS:
osgeo4w-setup-x86_64.exe --arch x86_64 --root "C:\OSGeo4W64" --no-desktop --autoaccept --quiet-mode --site http://download.osgeo.org/osgeo4w --packages qgis-ltr
setup.log.full