Hello!
On Thu, Aug 04, 2011 at 09:03:01AM +0800, Wendal Chen wrote:
> I compile nginx with google-perftools 1.8.1
>
> ./configure --with-cc-opt=-ltcmalloc
You've passed "-ltcmalloc" as compiler flag, while it's linker
one. The only effect that it confuses ./configure which does
compile and link in one step while doing tests.
If you want to build nginx with tcmalloc library linked, use
./configure --with-ld-opt=-ltcmalloc
instead.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx