Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#660 closed defect (fixed)

Installation of QGIS-ltr 3.16.4 (32bit) failed

Reported by: Andreas Müller Owned by: osgeo4w-dev@…
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)

setup.log.full.zip (124.5 KB ) - added by Andreas Müller 4 years ago.
setup.log.full
setup.log.full_x64.zip (74.7 KB ) - added by peetwhittaker 4 years ago.
workspaces_2021-02-22_04-38-50.png (18.0 KB ) - added by peetwhittaker 4 years ago.
workspaces_2021-02-22_05-05-51.png (10.5 KB ) - added by peetwhittaker 4 years ago.

Download all attachments as: .zip

Change History (9)

by Andreas Müller, 4 years ago

Attachment: setup.log.full.zip added

setup.log.full

by peetwhittaker, 4 years ago

Attachment: setup.log.full_x64.zip added

by peetwhittaker, 4 years ago

by peetwhittaker, 4 years ago

comment:1 by peetwhittaker, 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 jef, 4 years ago

Resolution: fixed
Status: newclosed

comment:3 by peetwhittaker, 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

in reply to:  3 ; comment:4 by jef, 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.

in reply to:  4 comment:5 by peetwhittaker, 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 installing a package doesn't also update its dependencies automatically?

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,gdal-filegdb
Version 0, edited 4 years ago by peetwhittaker (next)
Note: See TracTickets for help on using tickets.