Perl Script

I try to execute perl script but i doesn’t work with the following error:

./check_memory.pl -w 15% -c 10 Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_memory.pl line 46. BEGIN failed--compilation aborted at ./check_memory.pl line 46.

This script was tested by other person and it works, so the problem it’s not the script but the machine installation\configuration.
is there any one can help me?

your LD_LIBRERY_PATH is wrong.

find out where the Plugin.pm reside, and add it to the environment variable (for user nagios ).