问题描述:

DBD::mysql object version 2.0419 does not match bootstrap parameter 2.0902 at /usr/libdata/perl/5.00503/DynaLoader.pm line 188. BEGIN failed--compilation aborted at ./freetest.pl line 3.
The Code:
#!/usr/bin/perl
use DBI;
use DBD::mysql;
print "Hello";
exit;

 

解决方案
Hi,
 I think you messed up your DBD::mysql installation.
bootstrap is part of the DynaLoader suite, and it loads the mysql.so file only when the mysql.pm file fits the mysql.so version.

Look in the file DBD/mysql.pm and compare it with the version in auto/DBD/mysql.so (fe. strings mysql.so | less ).

Anyway, just reinstall the Bundle::Mysql and you'll be fine.
 ---------------------------
 Dr. Mark Ceulemans
 Senior Consultant

 

转自《http://www.perlmonks.org/?node_id=194570》

相关文章:

  • 2022-01-10
  • 2022-12-23
  • 2021-07-03
  • 2021-10-17
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-09
  • 2021-08-05
  • 2021-09-11
  • 2021-09-10
  • 2021-12-19
  • 2021-03-31
相关资源
相似解决方案