Hướng dẫn sửa lỗi Can’t load ‘/usr/local/lib64/perl5/auto/nginx/nginx.so’

While working on Nginx installation from source, I got the following error when I try to run nginx after compilation –
[root@localhost nginx-1.6.0]# /usr/sbin/nginx
Can’t load ‘/usr/local/lib64/perl5/auto/nginx/nginx.so’ for module nginx: /usr/local/lib64/perl5/auto/nginx/nginx.so: undefined symbol: ngx_http_perl_handle_request at /usr/share/perl5/XSLoader.pm line 68.
at /usr/local/lib64/perl5/nginx.pm line 56.
Compilation failed in require.
BEGIN failed–compilation aborted.
nginx: [alert] perl_parse() failed: 255
[root@localhost nginx-1.6.0]#

The problem occur when I was trying to install the nginx 1.6.0 version on CentOS 7.
It was nginx perl module ,I was enabling while compling.

As per Nginx ./configure --help

Solution: To solve this problem use the below given additional option with configure script (i.e --with-ld-opt="-Wl,-E")

And then use below given command for further installation