Hello guys,
In my OS had a dynamic zlib library at /usr/lib (old version), But I don't want to use system level dynamic zlib.
So, I compiled ImageMagick with a static zlib, but i confuse It, why ImageMagick always use system level dynamic zlib.
My configuration refer to following:
./configure --prefix=/usr/local
in prefix/lib existed static zlib (libz.a)
in prefix/include existed zlib.h and zconf.h
in prefix/share existed config.site file
---------------config.site------------------------------
CC=gcc
CXX=g++
CPPFLAGS='-I/usr/local/include'
LDFLAGS='-L/usr/local/lib'
---------------------------------------------------------
Maybe my config is wrong, Could someone can help me to figure it out.
thanks
Diuming