Opened 18 months ago

Closed 18 months ago

Last modified 18 months 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 18 months ago.
setup.log.full
setup.log.full_x64.zip (74.7 KB ) - added by peetwhittaker 18 months ago.
workspaces_2021-02-22_04-38-50.png (18.0 KB ) - added by peetwhittaker 18 months ago.
workspaces_2021-02-22_05-05-51.png (10.5 KB ) - added by peetwhittaker 18 months ago.

Download all attachments as: .zip

Change History (9)

by Andreas Müller, 18 months ago

Attachment: setup.log.full.zip added

setup.log.full

by peetwhittaker, 18 months ago

Attachment: setup.log.full_x64.zip added

by peetwhittaker, 18 months ago

by peetwhittaker, 18 months ago

comment:1 by peetwhittaker, 18 months 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, 18 months ago

Resolution: fixed
Status: newclosed

comment:3 by peetwhittaker, 18 months 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, 18 months 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, 18 months 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 18 months ago by peetwhittaker (next)
Note: See TracTickets for help on using tickets.