HobbitOfShire
HobbitOfShire

Reputation: 2414

Enabling perl module on Nginx

I am trying to enable perl moudle on Nginx using

./configure --with-http_perl_module

This command works but when i try to run make here is what i get on my console

/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/omar/nginx-1.4.1'
make: *** [build] Error 2

Upvotes: 1

Views: 1583

Answers (1)

daxim
daxim

Reputation: 39158

Install the development files for Perl. Specifically, you're looking for the package that provides libperl.so.

Upvotes: 2

Related Questions