[Zlib-devel] zlib 1.2.4 released

Volker Grabsch vog at notjusthosting.com
Fri Mar 12 06:47:01 EST 2010


Mark Adler <madler at alumni.caltech.edu> schrieb:
> zlib 1.2.4 is released!  I am temporarily placing it here for
> you to check out, in case there are any problems.  Please test
> it and let me know if all is well.  Or not.
> 
>     http://alumnus.caltech.edu/~madler/zlib-1.2.4.tar.gz

There is a bug in the "--static" option. While the "make install-libs"
tries to install shared libs only when they are really available,
the _dependencies_ of "install-libs" still require the *.so file to
be built.

Here are the relevant parts of the build:

----------------------------------------------------------------------

zlib-1.2.4$ ./configure --static
Checking for gcc...
Building static library libz.a version 1.2.4 with gcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.

zlib-1.2.4$ make
gcc -O3 -D_LARGEFILE64_SOURCE=1   -c -o example.o example.c
[...]
gcc -O3 -D_LARGEFILE64_SOURCE=1   -c -o zutil.o zutil.c
ar rc libz.a adler32.o compress.o [...]
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a
[...]
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a

zlib-1.2.4$ make install
make: *** No rule to make target `libz.so', needed by `install-libs'.  Stop.

----------------------------------------------------------------------


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




More information about the Zlib-devel mailing list