Warning: While the recipe below did work for my local use case, it's not recommended!
Please read the comments below for more information.
I've spent some time today trying to get the current DBD::MariaDB (1.24) to work with Strawberry perl 5.42.0.1. The way it should work as per documentation - and the way it does compile on 5.38.2.2 - got me this error when running gmake:
C:/dev/strawberry-perl-5.42.0.1/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
dbdimp.o:dbdimp.c:(.text+0x885): undefined reference to `__imp___pioinfo'
Looking for differences to 5.38.2.2 I found out that 5.42.0.1 does not ship with c\x86_64-w64-mingw32\lib\libmsvcrt.a. When I copied this file over to 5.42.0.1, compilation started to work. After that it was necessary to copy libmariadb.dll to c\bin and then I could use DBD::MariaDB.
Is there a problem with 5.42.0.1? Hope this information helps someone.
Warning: While the recipe below did work for my local use case, it's not recommended!
Please read the comments below for more information.
I've spent some time today trying to get the current
DBD::MariaDB(1.24) to work with Strawberry perl 5.42.0.1. The way it should work as per documentation - and the way it does compile on 5.38.2.2 - got me this error when runninggmake:Looking for differences to 5.38.2.2 I found out that 5.42.0.1 does not ship with
c\x86_64-w64-mingw32\lib\libmsvcrt.a. When I copied this file over to 5.42.0.1, compilation started to work. After that it was necessary to copylibmariadb.dlltoc\binand then I could useDBD::MariaDB.Is there a problem with 5.42.0.1? Hope this information helps someone.