in reply to Almalinux throwing Perl_xs_version_bootcheck undefined error

Binary compatibility, you've likely moved to a newer perl (major release) when migrating servers. Pure perl modules should be OK, XS modules will need to be reinstalled. http://modernperlbooks.com/mt/2009/05/perl-5-and-binary-compatibility.html.

  • Comment on Re: Almalinux throwing Perl_xs_version_bootcheck undefined error

Replies are listed 'Best First'.
Re^2: Almalinux throwing Perl_xs_version_bootcheck undefined error
by stingray020 (Initiate) on Aug 31, 2023 at 11:44 UTC

    Thanks for the quick replies. After migration many modules were gone and had to be reinstalled anyway. There was also no C compiler available anymore which needed further support from the hosting company. Not sure whether DBI was preinstalled ('core'?) though. I did try reinstalling modules shortly after the problem arose, to no avail.

    On a shared hosting server access and permissions are understandably limited.

    How should I challenge the 'perl scripts and modules are not compatible or wont work' response from the hoster, or is it possible that DBI needs patching to work with 5.26.3? I think they don't know much about Perl.

      DBI isn't core (see corelist), the error you are seeing is with /home/username/perl5/lib/perl5/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so: so not part of the new systems (new) perl anyway. I'm not a cpanel user, but this suggests it's adding the path I quoted to INC, causing the error you're seeing.