Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing minizip.dll for libKML #4464

Closed
habersaa opened this issue Sep 26, 2018 · 5 comments
Closed

Missing minizip.dll for libKML #4464

habersaa opened this issue Sep 26, 2018 · 5 comments

Comments

@habersaa
Copy link

Hi ! I just updated all my packages to the latest versions.

Now my executable does not run anymore due to a missing libminizip-1.dll.

I tried to install the minizip package, but it did not work (could not find entry point in lib, i.e. different version required).
After investigation, it turns out that the minizip package is v2.5.2, but the required DLL is version 1.x, and it is required by libKML. So I rebuilt libKML, and during the build it automatically downloaded the sources for its minizip (v1) dependence. But once the package is built, the minizip.dll used for the build is not included in the package, which causes this issue.
I used the work-around to manually copy the minizip.dll (built while building libKML) in the mingw64/bin directory to make it work.

@Alexpux
Copy link
Member

Alexpux commented Sep 26, 2018

@habersaa need to fix libkml for minizip v2

@stahta01
Copy link
Contributor

An easier solution might be to use a static minizip v1

Tim S.

@illwieckz
Copy link

illwieckz commented Oct 31, 2018

The issue is that the minizip package provided by mingw is not minizip, it's a brand new project historically based on minizip that is not source-compatible anymore. The issue was introduced in e1e045d. See zlib-ng/minizip-ng#333. This other minizip requires to be packaged under a different name than minizip to avoid name collision and to be installable at the same time (minizip2 is not a bad idea, to mimic libpng14 and libpng16 that were shipped by common distros at the same time).

@Alexpux
Copy link
Member

Alexpux commented Nov 1, 2018

@illwieckz fixed in Alexpux@d364d72 and Alexpux@0269ce9

@illwieckz
Copy link

thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants