in reply to Re: Can't locate loadable object for module X in @INC (@INC contains: ... )
in thread Can't locate loadable object for module X in @INC (@INC contains: ... )

"Usually this happens because of an installation error such as copying .pm files from the installation directory to the installed directory and neglecting to build or copy the binary components." ...yes, well, how is this done? For RedHat would be great... thanks
  • Comment on Re^2: Can't locate loadable object for module X in @INC (@INC contains: ... )

Replies are listed 'Best First'.
Re^3: Can't locate loadable object for module X in @INC (@INC contains: ... )
by localshop (Monk) on Oct 06, 2015 at 17:50 UTC
    If the error is caused by copying a module file from the installation tree without doing a make/install then you may be able to resolve the error by finding the file in the library directory and editing it. Then look for a line such as
    require XSLoader; XSLoader::load('Error:Casing:Module', $VERSION);
    and removing or commenting out these lines. If there are no object dependencies then this may at least get you up and running again.
      Yeah, that is never the case ... whenever you see XSLoader or DynaLoader, thats where the meat of the module lives, you can't simply comment it out, it makes no sense (the module won't work)