Perl 5.24.2402 Event.dll requires missing DLL Perl522.dll

Posted by mark.strasser@unnpp.gov on 2017-05-26 07:40

Hi all-

When I installed the latest 64-bit distribution of ActivePerl 5.24.2402, I got the following errors when trying to run a simple Tk gui.

You can replicate this via a simple Perl script that calls 'use Tk;'.

The error message is in two parts:

(1) GUI dialog from Windows indicating missing Perl522.dll
(2) Console message: Can't load 'C:/Program Files/Perl64/site/lib/auto/Tk/Event/Event.dll' for module Tk::Event:: load_file: The specified module could not be found ...

When I examine Event.dll in Dependency Walker, it does indeed depend on Perl522.dll. Is this a build problem?

grahams
ActiveState Staff
Mon, 2017-05-29 07:46

site/lib/
is the path for downloaded modules. If you have modules there that point to a previous version, and you had that version installed in the past, then you might not have completely removed 5.22 before you overinstalled 5.24.

If that's the case, uninstall 5.24. Then manually delete your entire Perl64 folder. The uninstaller cannot remove any content you add after the installation, so you have to delete it by hand to avoid retaining incompatible binaries.