in reply to Can't get PDL module working

I'm using perl version 5.14.2 and I downloaded Active Perl 5.16.13

It's ok to have 2 different versions of perl on your computer, but you can't run them both at the same time, or mix parts of one with the other.
It seems that you are currently loading some parts of DynaLoader that belong to your perl-5.16.3 (DynaLoader-1.14) and some parts of DynaLoader that belong to your perl-5.14.0 (DynaLoader-1.13).
Hence the error you get.

What does perl -V report for you ?
Where is perl-5.14.2 located ?
Where is perl-5.16.3 located ?
What does set PATH report for you ?

You'll find that this brokenness in your set-up affects *any* module that attempts to load the DynaLoader module.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Can't get PDL module working
by kinsigne (Initiate) on Oct 27, 2013 at 00:17 UTC
     perl -v says I'm using perl 5.14.2. But I have a Perl64 folder which contains 5.16.3  set PATH gives me:
    Path=C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files (x86)\HP Simple +Pass\x64;C:\Program Files (x86)\HP SimplePass\;;C:\Program Files (x86 +)\Intel\iCLS Client\; C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\ +WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ +Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\ +OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bi +n\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DA +L;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C: +\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; +C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IP +T;C:\Pr ogram Files (x86)\Hewlett-Packard\HP SimplePass Identity Protection\x6 +4;C:\Program Files\Samsung\AllShare Framework DMS\1.3.17\;C:\Program +Files\Samsung\AllShare Framework DMS\1.3.17\64bit\PATHEXT=.COM;.EXE;. +BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    It's long, but the C:\Perl64\bin folder is there which is where the perl version 5.16.3 is located. After searching my computer, I found that Cygwin uses Perl version 5.14.2. After some googling, I found this module perlcygwin (http://search.cpan.org/~rjbs/perl-5.16.3/README.cygwin) should I download this to help me out?
Re^2: Can't get PDL module working
by kinsigne (Initiate) on Oct 27, 2013 at 00:30 UTC
    I just tried running the script from the Windows Command Line instead of Cygwin and it worked perfectly! Such a pain. Thanks for the idea though or I never would have tried!