Unable to run cpan command -- loadable library and perl binaries are mismatched
Hello,
We run CloudLinux 8.5 and we face an issue where we wanted to install a perl module via cpan. I tried via WHM and it failed, I tried running the cpanel command via SSH and I get the following output:
[CODE=bash][root@host3 ~]# cpan
HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xde00080, needed 0xcd00080)
I contacted cPanel regarding this and they narrowed the problem down to perl-Time-HiRes module: [CODE=bash] [root@host3 ~]# rpm -qV perl-Time-HiRes Unsatisfied dependencies for perl-Time-HiRes-4:1.9758-2.el8.x86_64: libperl.so.5.26()(64bit) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64 perl(:MODULE_COMPAT_5.26.3) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64 ......G.. a /usr/lib/.build-id/0e ......G.. a /usr/lib/.build-id/0e/79691bdc3f47201e76d73c9e5d9e7f7703dc14
The told me that the problem may be solved by removing the module, but they redirected me to CloudLinux for verification. CloudLinux first told me to " Rebuild all libraries by removing the perl files and reinstalling them again. " but after I asked for verification in case something bad happens, they wrote: [QUOTE] Unfortunately, perl packages have many crucial system dependencies which means that manually replacing the perl package could be risky. The safest route at this point would be the reinstallation of CloudLinux components by executing the conversion script.
Running the conversion script would mean that CageFS and PHP Selector would be disabled for an amount of time, also PHP settings from PHP Selector configured by the users may be lost. Is there a way to remove this perl package which might solve this issue, without having to reinstall CloudLinux?
I contacted cPanel regarding this and they narrowed the problem down to perl-Time-HiRes module: [CODE=bash] [root@host3 ~]# rpm -qV perl-Time-HiRes Unsatisfied dependencies for perl-Time-HiRes-4:1.9758-2.el8.x86_64: libperl.so.5.26()(64bit) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64 perl(:MODULE_COMPAT_5.26.3) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64 ......G.. a /usr/lib/.build-id/0e ......G.. a /usr/lib/.build-id/0e/79691bdc3f47201e76d73c9e5d9e7f7703dc14
The told me that the problem may be solved by removing the module, but they redirected me to CloudLinux for verification. CloudLinux first told me to " Rebuild all libraries by removing the perl files and reinstalling them again. " but after I asked for verification in case something bad happens, they wrote: [QUOTE] Unfortunately, perl packages have many crucial system dependencies which means that manually replacing the perl package could be risky. The safest route at this point would be the reinstallation of CloudLinux components by executing the conversion script.
Running the conversion script would mean that CageFS and PHP Selector would be disabled for an amount of time, also PHP settings from PHP Selector configured by the users may be lost. Is there a way to remove this perl package which might solve this issue, without having to reinstall CloudLinux?
-
do you have any perl references in .bash_profile or .bashrc? I think reinstalling the packages is the way to go :( 0 -
No perl references in either file. How should I proceed without interfering with cPanel? I'm afraid if I mess up with Perl -which cPanel uses in many environments- might break up things :( 0
Please sign in to leave a comment.
Comments
3 comments