louhevly has asked for the wisdom of the Perl Monks concerning the following question:
I'm running the apache_1.3.41-win32-x86-src.msi on windows 10 using cygwin's Perl version v5.22.3. XSLoader and Storable are both up to date. My problem is that when I try to load Storable I get:
Can't load '/usr/home/louhevly/lib/perl5/5.22/x86_64-cygwin-threads/auto/Storable/Storable.dll' for module Storable: Permission denied at /usr/home/louhevly/lib/perl5/5.22/XSLoader.pm line 95.
The relevant part of my code is:
#!/usr/bin/perl -w BEGIN { open STDERR, ">/usr/home/louhevly/error.log" or die $!; use lib '/usr/home/louhevly/lib/perl5/5.22'; use lib '/usr/home/louhevly/lib/perl5/vendor_perl/5.22'; use lib '/usr/home/louhevly/lib/perl5/5.22/x86_64-cygwin-threads'; } use strict; use Data::Dumper; use Storable;
Data/Dumper's .dll loads fine from the same directory and with the same permissions
user:/usr/home/louhevly/lib/perl5/5.22/x86_64-cygwin-threads/auto $ ls -lR Data/ Storable/ Data/: total 0 drwxr-xr-x+ 1 user Ninguno 0 Jan 25 08:03 Dumper/ Data/Dumper: total 40 -rwxr-xr-x 1 user Ninguno 38419 Jan 15 13:54 Dumper.dll* Storable/: total 96 -rwxr-xr-x 1 user Ninguno 96275 Jan 15 13:55 Storable.dll*
I'm stumped (though I have a sneaking suspicion I'll be feeling like a pretty silly grasshopper when the light dawns). Thanks for listening.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XSLoader can't load Storable.dll
by dave_the_m (Monsignor) on Feb 06, 2017 at 20:30 UTC | |
by louhevly (Novice) on Feb 07, 2017 at 05:51 UTC | |
by dave_the_m (Monsignor) on Feb 07, 2017 at 09:12 UTC | |
by louhevly (Novice) on Feb 07, 2017 at 21:53 UTC | |
|
Re: XSLoader can't load Storable.dll ( depends.exe )
by Anonymous Monk on Feb 07, 2017 at 22:23 UTC | |
by louhevly (Novice) on Feb 08, 2017 at 08:21 UTC | |
by Anonymous Monk on Feb 08, 2017 at 10:35 UTC |