[root@python nginx-1.15.9]# ./configure --prefix=/data/web --sbin-path=/usr/bin --user=nginx --group=nginx --with-http_stub_status_module --with-http_auth_request_module --with-http_sub_module --add-module=/root/nginx-http-concat --with-http_addition_module --with-http_
secure_link_module --with-http_geoip_module --add-module=/root/ngx_cache_purge --with-http_slice_module --with-http_v2_module --with-stream --with-stream_realip_module --with-cc-opt=OPTIONS --with-ld-opt=OPTIONS --with-ld-opt=-ltcmallocchecking for OS
+ Linux 3.10.0-957.el7.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-ltcmalloc" ... not found
./configure: error: the invalid value in --with-ld-opt="-ltcmalloc"
老师我装了gperftools-2.7库但他报这个错
展开