Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 121691
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: Christopher.Knowlton [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: MySQL DBD Packaging bug
Date: Mon, 15 May 2017 21:06:01 +0000
To: "bug-Perl-Dist-Strawberry [...]" <bug-Perl-Dist-Strawberry [...]>
From: "Knowlton, Christopher" <Christopher.Knowlton [...]>
Download (untitled) / with headers
text/plain 576b
The DBD driver for MySql has a dll which depends on another dll but they are not co-located, so the dependency breaks in the dynaloader. If you happened to know to add the Strawberry\c\bin path to your PATH, you would probably not see this, but that is not part of the install instructions, so most won't. Copying LIBMYSQL_.dll to Strawberry\perl\vendor\lib\auto\DBD\mysql folder solves the issue easily. I will also be writing up a coding bug against the authors of the DBD module for a coding bug that obscured this fault. Chris Knowlton SCM Engineer Xerox Corporation.
Copying LIBMYSQL_.dll to Strawberry\perl\vendor\lib\auto\DBD\mysql is a hack.

It will not work for DBD::mysql installed by user (as it goes to Strawberry\perl\site\lib\auto\DBD\mysql) and if another module wants to link with libmysql it will suffer the same trouble.

If you are not able to setup your PATH properly use the workaround you have described but it is very unlikely that we will use this kind of hack in strawberry release.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to