It works!!
Thank you
2011/8/4 Maxim Dounin <mdounin@mdounin.ru>
> 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
>
--
Wendal Chen
http://t.sina.com.cn/1068040557?s=6uyXnP
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx