GnuCash windows installer sometimes might not update DLLs
Marcin Januszkiewicz
januszkiewicz.marcin at gmail.com
Sat Jul 4 15:22:00 EDT 2026
Hello,
I was trying to see if I could figure out why the performance of my GnuCash
installation was terrible.
Most likely the culprit was a bug in pango version 1.56.4 [1], which was
shipped with GnuCash version 5.13.
Upgrading GnuCash to versions 5.14-5.16 did not improve the performance,
but manually upgrading the DLLs to 1.56.4-3 fully resolved them.
I initially assumed that the installer bundled the old version for some
reason, but deleting the gnucash folder and performing a clean install
resulted in no performance problems and the correct DLLs present.
Inspecting the version info of the DLL via `(Get-Item
libpango-1.0-0.dll).VersionInfo` in PowerShell returns ProductVersion:
1.56.4 and FileVersion 1.56.4.0 for both old and new DLLs.
As far as I understand it, Inno Setup will only replace files for which the
version is higher, so any user that started out with GnuCash 5.13 will have
degraded performance until the version bumps to 1.57.
This failure mode is also possible for any other libs which don't embed
such version bumps in their metadata.
A possible fix is to add `Flags: ignoreversion` to the `Source:
"@MINGW_DIR@\bin\libpango-`
entries in `inno_setup/gnucash-mingw64.iss`.
Might also be a good idea to add it to other DLLs.
[1] https://gitlab.gnome.org/GNOME/pango/-/work_items/864
Regards,
Marcin Januszkiewicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20260704/c9a482da/attachment.htm>
More information about the gnucash-devel
mailing list