in reply to Re^2: Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm
in thread Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm

If this error is suggesting that there is some incompatibility between the installed version of Perl and the install DBD::mysql module, I would like to know. I can talk to tech support about this.

Yes, the error message is telling you that the installed DBD::mysql module is incompatible with the installed Perl.

The shared library, DBD/mysql/mysql.so was not built with the same compile options as the Perl executable running your program.

FYI, DBD/mysql/mysql.so is an extension to Perl that allows Perl that enables Perl to use the MySQL client library. Many applications use extensions or plug-ins. In all cases, the extension/plug-in must be compiled properly to be usable with the application. Perl is no different.

I am thinking that your new hosting provider installed DBD::mysql using a different Perl (probably the "system Perl") than the one they allow to run user programs. Likely the control panel you used to "install" DBD::mysql actually just created a symbolic link to the already installed DBD::mysql, resulting in the compatibility issue.

  • Comment on Re^3: Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm