<HTML><BODY>день добрый,<br>компилировал сегодня на новой машине и встретил (наверное редко тако бывает) : /usr/bin/ld: cannot find -lperl<br>лечится "apt-get install libperl-dev" - ubuntu , но хотелось бы что бы ето мне configure сначала сказал, а то он все принял а make'y вот не понравилось: <br><br>+++++<br>checking for PCRE library ... found<br>checking for PCRE JIT support ... found<br>checking for OpenSSL library ... found<br>checking for zlib library ... found<br>checking for libxslt ... found<br>checking for libexslt ... found<br>checking for GD library ... found<br>checking for perl<br> + perl version: This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi<br> + perl interpreter multiplicity found<br>checking for GeoIP library ... found<br>creating objs/Makefile<br><br>Configuration summary<br> + using system PCRE library<br> + using system OpenSSL library<br> + md5: using OpenSSL library<br> + sha1: using OpenSSL library<br> + using system zlib library<br><br>$ make <br>....<br> objs/src/http/modules/ngx_http_upstream_least_conn_module.o \<br> objs/src/http/modules/ngx_http_upstream_keepalive_module.o \<br> objs/src/http/modules/ngx_http_stub_status_module.o \<br> objs/ngx_modules.o \<br> -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \<br> -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt<br>/usr/bin/ld: cannot find -lperl<br>collect2: error: ld returned 1 exit status<br>make[1]: *** [objs/nginx] Error 1<br>make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'<br>make: *** [build] Error 2<br>+++++<br><br><br>после инстялляции libperl-dev (ubuntu) все ок<br>+++++<br>checking for PCRE library ... found<br>checking for PCRE JIT support ... found<br>checking for OpenSSL library ... found<br>checking for zlib library ... found<br>checking for libxslt ... found<br>checking for libexslt ... found<br>checking for GD library ... found<br>checking for perl<br> + perl version: This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi<br> + perl interpreter multiplicity found<br>checking for GeoIP library ... found<br>creating objs/Makefile<br><br>Configuration summary<br> + using system PCRE library<br> + using system OpenSSL library<br> + md5: using OpenSSL library<br> + sha1: using OpenSSL library<br> + using system zlib library<br><br>$ make<br>....<br> objs/src/http/modules/ngx_http_upstream_keepalive_module.o \<br> objs/src/http/modules/ngx_http_stub_status_module.o \<br> objs/ngx_modules.o \<br> -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \<br> -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt<br>make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'<br>make -f objs/Makefile manpage<br>make[1]: Entering directory `/home/yyyy/yyy/nginx-1.5.8'<br>sed -e "s|%%PREFIX%%|/srv/nginx-1.5.8|" \<br> -e "s|%%PID_PATH%%|/srv/nginx-1.5.8/logs/nginx.pid|" \<br> -e "s|%%CONF_PATH%%|/srv/nginx-1.5.8/conf/nginx.conf|" \<br> -e "s|%%ERROR_LOG_PATH%%|/srv/nginx-1.5.8/logs/error.log|" \<br> < man/nginx.8 > objs/nginx.8<br>make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'<br>+++++<br><br>подправьте пожалуйста configure / make <br>спасибо.<br>с ув. Сергей<br><br data-mce-bogus="1"></BODY></HTML>