You mixed different Perl versions and installed/overwrote C modules from one version of Perl with C modules from another version of Perl. This often happens if you "upgrade" Perl by compiling your own and then overwriting the vendor supplied Perl, or when installing modules using CPAN into the vendor provided Perl instead of using the vendor package manager.
The best approach to this problem is to reinstall the vendor supplied Perl using the vendor packages and then to compile your own Perl for your own application, where you can then install packages from CPAN into. Use the vendor tools for the vendor Perl and the Perl tools for your own Perl.