[Zlib-devel] Error in README-WIN32.txt

John Bowler jbowler at frontiernet.net
Wed Apr 7 22:04:11 EDT 2010


The official built binaries for both 1.2.3 and 1.2.4 contain the following lines in README-WIN32.txt:

  zdll.lib         Install these files into the compilers' LIB path if linking
  zdll.exp         a compiled program to the zlib1.dll binary

  zlib.lib         Install these files into the compilers' LIB path if linking
  zlib.pdb         a compiled program to the zlib1.dll binary (zlib.pdb ensures
                   that the resulting program may be debugged)

I believe the 'zlib' lines are wrong, zlib.lib is (I believe) the static library, whereas zdll.lib is an import library for zlib1.dll.  As recently reported on the png-implement mail list by the person who noticed this (not me, though if I'm wrong about zlib.lib that *is* my fault):

"Shouldn't that really say:

  zlib.lib         Install these files into the compilers' LIB path if linking
  zlib.pdb         a compiled program to the *zlib.lib* binary (zlib.pdb ensures
                   that the resulting program may be debugged)"

John Bowler <jbowler at acm.org>






More information about the Zlib-devel mailing list