Static build woes

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
closet geek

Static build woes

Post by closet geek »

Hi,

I can't seem to find clear instructions on how to build completely static binaries.

I've downloaded the various delegates I want, and ensured they are all built statically. This is fine.

I then run ./configure --enable-shared=no --enable-static=yes --enable-delegate-build

but there are still a tonne of dependencies when I run ldd on the convert binary. I've tried adding "CFLAGS=-static -s" to the end of the configure but it hasn't helped.

Has anyone got any insights into this?

Thanks,

cg
Post Reply