Bug 405378 - Missing libz.dll on launch
Summary: Missing libz.dll on launch
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-12 00:57 UTC by Bill Goodman
Modified: 2022-01-07 05:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Goodman 2019-03-12 00:57:07 UTC
SUMMARY
With digiKam-6.1.0-git-20190310T212601-Win64.exe, a system dialog stating "The program can't start because libz.dll is missing from your computer." occurs on every launch. This did not occur with the 20190308 build.

STEPS TO REPRODUCE
1. Launch digiKam

OBSERVED RESULT
A system dialog stating "The program can't start because libz.dll is missing from your computer." occurs on every launch. This did not occur with the 20190308 build.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Windows 7

ADDITIONAL INFORMATION
The Program Files directory for digiKam does not contain a libz.dll file. There is a zlib1.dll.
Comment 1 caulier.gilles 2019-03-12 09:39:34 UTC
The problem is due to the new DrMinGw update which is cross compiled while Windows installer compilation. There is no dll dependencies scan over DrMinGW dll, and this one use libz.dll. I will fix that this evening.

Gilles Caulier
Comment 2 caulier.gilles 2019-03-12 21:51:18 UTC
Git commit ca67bd923906bafddcae58f7c30c4377e93537c6 by Gilles Caulier.
Committed on 12/03/2019 at 21:50.
Pushed by cgilles into branch 'master'.

link drmingw with static libz

M  +13   -0    project/bundles/3rdparty/ext_drmingw/drmingw-coreonly.patch

https://commits.kde.org/digikam/ca67bd923906bafddcae58f7c30c4377e93537c6
Comment 3 caulier.gilles 2019-03-12 21:56:11 UTC
Git commit 969fc48b3e004b75be2adea9e530044029d5b881 by Gilles Caulier.
Committed on 12/03/2019 at 21:55.
Pushed by cgilles into branch 'master'.

parse drmingw dlls for inter-dependencies

M  +8    -3    project/bundles/mxe/04-build-installer.sh
M  +24   -0    project/bundles/mxe/rll.py

https://commits.kde.org/digikam/969fc48b3e004b75be2adea9e530044029d5b881
Comment 4 caulier.gilles 2019-03-13 07:12:43 UTC
Bill,

The problem must be fixed in next Windows installers for pre-release 6.1.0. Files will be uploaded this morning (compilation just started - this take 2 hours).

Gilles Caulier
Comment 5 caulier.gilles 2019-03-13 19:14:56 UTC
Git commit 48fd5e4bc85dd4b61af762f0200db6b0cc74900c by Gilles Caulier.
Committed on 13/03/2019 at 19:13.
Pushed by cgilles into branch 'master'.

DrMinGw only provide 2 dlls usable without extra Microsoft debug tools.

M  +0    -5    project/bundles/mxe/04-build-installer.sh

https://commits.kde.org/digikam/48fd5e4bc85dd4b61af762f0200db6b0cc74900c
Comment 6 caulier.gilles 2019-03-14 21:20:41 UTC
Missing dll problem for DrMinGw is now fixed in Windows installer.

Gilles Caulier