View Ticket
Not logged in
Ticket UUID: 4497341fa070690c4938fdad92cdd53be86635ed
Title: "zlib1.dll not found" error after building latest leaf
Status: Open Type: Build_Problem
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2010-05-09 22:30:33
Version Found In: [11b3f31de9] 2010-05-09 16:51:12 UTC
Description & Comments:
After compiling the latest Fossil source for Windows using the instructions on the Cookbook wiki section, opening an existing Fossil or creating a new one results in the error message "This application has failed to start because zlib1.dll was not found. Re-installing the application may fix the problem." It will not create the repo or open it.

The source was compiled on a Windows XP Pro SP3 machine.

Here's what I did:

  • Uninstalled both MingW and MSYS, then made another fresh install of both.
  • Downloaded the latest source from zlib.net, used its Makefile.gcc to build "libz.a"
  • Copied libz.a over to the "lib" folder inside MingW
  • Downloaded the Zip file from the latest Fossil leaf and extracted it into a separate folder
  • Mounted the folder in the bash shell and compiled the Fossil source using the same Makefile.w32 included with it.

Now it works fine.


anonymous claiming to be anonymous (said to be Arnel) added on 2010-05-09 22:07:14:
The same error message appeared now after I tried to commit a bunch of files into the new repo. No error occurred when creating a repo, opening it, and adding files into it.


anonymous claiming to be Arnel added on 2010-05-09 22:30:33:
Please ignore my last comment. It was the first Fossil build I created (with the zlib1 error) causing the commit error, not the second one.