Error with --with-http_perl_module (not same

Igor Sysoev is at
Thu Oct 8 22:30:36 MSD 2009

On Thu, Oct 08, 2009 at 01:59:10PM -0400, tsukasagenesis wrote:

> When I tryed  to compil nginx, I optain :
> make -f objs/Makefile
> make[1]: Entering directory `/usr/local/src/nginx-0.6.39'

>         objs/ngx_modules.o \
>         -lcrypt -lpcre -lssl -lcrypto -ldl -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_init_interpreter':
> /usr/local/src/nginx-0.7.62/src/http/modules/perl/ngx_http_perl_module.c:508: undefined reference to `Perl_sys_init'

It seems perl does not add -lperl in its link options.
What does
   perl -MExtUtils::Embed -e ldopts
show ?

Igor Sysoev

More information about the nginx mailing list