Greetings oh wise ones:

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.


In reply to XSLoader can't load Storable.dll by louhevly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.