DBD-mysql icon indicating copy to clipboard operation
DBD-mysql copied to clipboard

Try new appveyor.yml

Open dveeden opened this issue 2 years ago • 4 comments
trafficstars

Closes #359

dveeden avatar Nov 01 '23 12:11 dveeden

Status update:

  • Appveyor Visual Studio 2022 comes with MySQL 8.0.34
  • This image has Strawberry Perl 5.32.1
  • Strawbery Perl comes with MySQL 5.7.16 client libraries (which are too old for DBD::mysql)

With a batch file that emulates mysql_config this manages to find mysql.h from MySQL 8.0. However ld.exe then fails to find things like mysql_init and mysql_real_connect. This is probably due to different compilers and compiler options being used for MySQL and Strawberry Perl.

https://dev.mysql.com/doc/c-api/8.2/en/c-api-building-clients.html#c-api-building-clients-compiling-mysql-clients-on-microsoft-windows

dveeden avatar Nov 01 '23 14:11 dveeden

Related: https://github.com/StrawberryPerl/build-extlibs/issues/1

dveeden avatar Nov 01 '23 14:11 dveeden