David Filion wrote:
Giorgio Bellussi wrote:

Hi all.
Does someone knows if there is some way to link statically zlib into .*clam.* ? I tried to replace all occurences of "-lz" with "/usr/lib/libz.a" in the "configure" and "configure.in" files; the "./configure" and "make" commands do their dirty job but the resulting clamd/.libs/clamd still has references to /usr/lib/libz.so.1...

Thanks in advance...

G
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html



 From configure --help:
--enable-shared=PKGS  build shared libraries default=yes
--enable-static=PKGS  build static libraries default=yes

So, using: --enable-shared=no  --enable-static=yes  should do it.


David


No, it doesn't work.I suspect that these directives are ignored, because even after "make distclean;./configure --enable-shared=no --enable-static=yes", a "grep -r -e '-lz' ." reveals the string "-lz" in many Makefile and other.

I tried to modify them manually, but the compilation fails.

Anyway, thanks.

G
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to