Error with --with-http_perl_module (not same
Maxim Dounin
mdounin at mdounin.ru
Thu Oct 8 22:29:49 MSD 2009
Hello!
On Thu, Oct 08, 2009 at 01:59:10PM -0400, tsukasagenesis wrote:
> Hi,
>
> When I tryed to compil nginx, I optain :
[...]
> objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
> objs/src/http/modules/ngx_http_stub_status_module.o \
> objs/ngx_modules.o \
> -lcrypt -lpcre -lz \
> -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -ldl -lm -lpthread -lc -lcrypt
> objs/src/http/modules/perl/ngx_http_perl_module.o: In function `ngx_http_perl_cleanup_perl':
> /usr/local/src/nginx-0.6.39/src/http/modules/perl/ngx_http_perl_module.c:819: undefined reference to `PL_thr_key'
For some reason -lperl is missing from ld command. It
should be here suppplied by perl itself via ExtUtils::Embed.
Could you please
1. Show ./configure arguments and output?
2. Show output of 'perl -MExtUtils::Embed -e ldopts' on your
system?
Maxim Dounin
More information about the nginx
mailing list