compile ngx_resty to statically link some libs?

agentzh agentzh at
Wed Nov 16 01:36:40 UTC 2011

On Tue, Nov 15, 2011 at 6:35 PM, dannynoonan <nginx-forum at> wrote:
> Reading up on the man page for ld caused me to try
> --with-ld-opt="-Bstatic" which gets me past configure, but gmake still
> yields an ELF binary that dynamically links out to libdrizzle.

Could you confirm that the file libdrizzle.a indeed exists in your system?

> Any ideas? Is trying to statically link a never ending struggle I should
> give up on early?

What's your gcc's version? And what does your "uname -a" say? Do you
have the libdrizzle.a file in the right place?


More information about the nginx mailing list