Using

Scripting

Script Loading Error: perl510.dll

Cannot open perl510.dll

There are multiple reason for receiving a Cannot open perl510.dll error message, but this means that either the incorrect version of Perl has been installed, or that the installation was incomplete

Standard Resolution

The plugin is not detecting Perl 5.10 installed, so this normally means one of 3 things

  1. You don't have ActivePerl 5.10 installed for 32 bit architectures
  2. You have ActivePerl 5.10 installed, but the PATH variable wasn't updated
  3. You have both ActivePerl 5.8 and ActivePerl 5.10 installed, but the PATH variables point to 5.8

In each case, the resolution is primarily the same. After each step, restart XChat and see if the Perl scripts will load. If they do, you can stop at that point in the list.

  • If not installed, install ActivePerl 5.10 for the 32 bit architecture.
  • From a cmd window, type echo %. If Perl is not displayed in the path, re-run the Perl installation MSI, and select Repair. Check the Add Perl to the PATH environment variables.
  • From a cmd window, type perl -v. If the first line returns 5.8 instead of 5.10, you need to install 5.10 either in the same location as an upgrade, or at a separate path. Make sure that the PATH variable gets updated. If Both versions of Perl are installed, update the PATH variable manually:
    • Windows 7: Open up Windows Explorer, right click on Computer, go to Properties, Advanced system settings, make sure you are in the Advanced tab, and select Environment Variables
    • Windows XP:

In all cases, you will need to restart XChat before the script file will load.

Example messages

Cannot open per510.dll

You must have ActivePerl 5.10 installed in order to run perl scripts.

I have found Perl 5.8, but that is too old.

Plugins are built against specific minor versions of script languages (the second number out of 3 in a X.Y.Z version format). Even if you have Perl 5.8 installed, if XChat is looking for Perl 5.10, this will be insufficient. Additionally, if you have Perl 5.10 installed, but XChat is looking for Perl 5.8, this won't work either, as explained on the Windows Alternate Perl Plugin page.



Print - Recent Changes - Search
Page last modified on November 08, 2009, at 03:58 AM