... but I don't have the auto directory and the SO file

Ah, I'm beginning to see what the problem is.  Thing is, you do need this shared object file, because Socket6 is an architecture-specific Perl module. And if you need to install it on 30+ machines of varying architectures, you're going to need a separate .so file (or .sl or .dll for that matter) for every different architecture (and Perl version). There's no way around it, however unfortunate that may be.

There are essentially two types of modules: architecture-independent pure Perl modules, and architecture-dependent ones (often called XS modules, because that's the default method to write Perl extensions (Perl-C bindings)). Only the former ones are portable across architectures. The latter ones comprise a shared object file (compiled machine code) in addition to the regular .pm file (and the shared object may itself depend on other shared objects, depending on what it was linked against). It's DynaLoader's bootstrap method that's pulling the .so file in. If it can't find it, you'll get

can't load loadable object for module...

The fact that you did not get this message with your other directory setup, but rather the message can't locate object method "bootstrap"... doesn't mean that you've somehow magically gotten past this problem... Quite the contrary, you're not even as far as that. Once the bootstrap method is found, it will complain about the missing .so file.


In reply to Re^3: can't locate object method bootstrap by almut
in thread can't locate object method bootstrap by gokuraku

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.