Wed Dec 14 14:33:26 2016: Request 119224 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR
     Subject: Issue about Can't locate loadable object for module
   Broken in: 1.013
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119224 >


Again, thanks to both of you. Puzzle solved!

A bit of explanation: When a packed executable runs, its @INC will only contain
paths inside of the cache area (usually /tmp/par-XXX/SOME-SHA1) (plus some CODE 
refs).
The self test will check for this.
 
However, this is only correct once the bootstrap phase is finished. 
During bootstrap we might still see remnants of the perl built-in @INC, but if
everythings works as planned we do not call any operation that causes a search
in @INC. Except for stupid mistakes which go undetected if we're running the 
executable
in the same environment where we packed it :(

Cheers, Roderich

Reply via email to