If you get "Can't locate local/lib.pm" , you can install the missing perl library using cpan. cpan local::lib
If cpan is missing you should first install it using: yum install cpan