'Can't load the SHA1.so for Module Digest::SHA1

I have Installed the Digest::SHA1 module. After that I am executing my Perl Script it gives an error like can't load SHA1.so for Module Digest::SHA1.For these error anyone can help to resolve my issue.

The below error is getting

Can't load '/usr/local/lib64/perl5/auto/Digest/SHA1/SHA1.so' for module Digest::SHA1:  at /root/git/common/perl/pgw_client.pl line 24.
Compilation failed in require at /root/git/common/perl/pgw_client.pl line 24.
BEGIN failed--compilation aborted at /root/git/common/perl/pgw_client.pl line 24.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source