Welcome! Log In Create A New Profile

Advanced

Re: Fail to complie nginx with google-perftools

Maxim Dounin
August 03, 2011 09:40PM
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
Subject Author Posted

Fail to complie nginx with google-perftools

Wendal Chen August 03, 2011 09:04PM

Re: Fail to complie nginx with google-perftools

Maxim Dounin August 03, 2011 09:40PM

Re: Fail to complie nginx with google-perftools

Wendal Chen August 04, 2011 12:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready