ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/usr/bin/ld: cannot find -lperl


  • To: nginx-ru@xxxxxxxxx
  • Subject: /usr/bin/ld: cannot find -lperl
  • From: xinu <xinu@xxxxxxx>
  • Date: Fri, 03 Jan 2014 20:13:43 +0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=list.ru; s=mail; h=Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:To:From; bh=21YNBWF1n7mext67k6l9HNIij2HuNwPfCvnhAkD6v8o=; b=HYa2n9ycXzpBtwFoWg9k4ljobewbGAVIDQ2s3aS4UPzf5ih7mIrLPVgTcKqubFHraeC7aBscJJu+rLN/yQmNkQBhog9IoNOhD6yrjl0q5ELlwKP+B8jwM7v4gpTGPnL7L2tKhU2ZD1MVNIk814X7wxSpwXdhjNpRgZLiMzJ7Y0g=;

день добрый,
компилировал сегодня на новой машине и встретил (наверное редко тако бывает) : /usr/bin/ld: cannot find -lperl
лечится "apt-get   install    libperl-dev" - ubuntu , но хотелось бы что бы ето мне configure  сначала сказал, а то он все принял а  make'y вот не понравилось:

+++++
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... found
checking for perl
 + perl version: This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
 + perl interpreter multiplicity found
checking for GeoIP library ... found
creating objs/Makefile

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

$ make
....
        objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
        objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
        objs/src/http/modules/ngx_http_stub_status_module.o \
        objs/ngx_modules.o \
        -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \
        -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'
make: *** [build] Error 2
+++++


после инстялляции libperl-dev (ubuntu)  все ок
+++++
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... found
checking for perl
 + perl version: This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
 + perl interpreter multiplicity found
checking for GeoIP library ... found
creating objs/Makefile

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

$ make
....
    objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
        objs/src/http/modules/ngx_http_stub_status_module.o \
        objs/ngx_modules.o \
        -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \
        -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'
make -f objs/Makefile manpage
make[1]: Entering directory `/home/yyyy/yyy/nginx-1.5.8'
sed -e "s|%%PREFIX%%|/srv/nginx-1.5.8|" \
                -e "s|%%PID_PATH%%|/srv/nginx-1.5.8/logs/nginx.pid|" \
                -e "s|%%CONF_PATH%%|/srv/nginx-1.5.8/conf/nginx.conf|" \
                -e "s|%%ERROR_LOG_PATH%%|/srv/nginx-1.5.8/logs/error.log|" \
                < man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/home/yyyy/yyy/nginx-1.5.8'
+++++

подправьте пожалуйста  configure / make
спасибо.
с ув. Сергей

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.