On Mon, Jun 29, 2009 at 2:22 PM, Roderich Schupp<[email protected]> wrote: > On Mon, Jun 29, 2009 at 12:58 PM, Thomas Maier<[email protected]> wrote: >> I have some HTTP server packaged together with a bunch of modules. >> The PAR executable was prepared with: >> >> pp <a lot of -M's> -o server server.pl >> >> It's compiled on RHE4 with perl v5.8.5. >> The binary file runs perfectly on WindRiver with perl v5.8.7, but >> on Centos 4.4/5 with perl v5.8.8 failed with the follow error: >> >> Undefined subroutine &DynaLoader::bootstrap called at >> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/XSLoader.pm line 111. > > Looks like the same problem discussed in thread > '"pp -B" uses local paths before the packaged script runs'. > > Does your problem go away with the following patch to PAR::Packer? > Note that you have to > > - rebuild and reinstall PAR::Packer with this patch (make sure to > do a "make clean" if re-using a previous build) > > - repack your executable with the new PAR::Packer > > in order to see any change in behaviour. > > > --- PAR-Packer-0.991-ORIG/script/par.pl 2009-03-21 > 11:56:51.000000000 +0100 > +++ PAR-Packer-0.991/script/par.pl 2009-04-28 > 18:14:34.000000000 +0200 > @@ -337,7 +337,7 @@ > } > > die "Bootstrapping failed: cannot find $module!\n"; > - }, @INC); > + }, %require_list ? () : @INC); > > # Now load all bundled files {{{ >
No. Still the same error on the station with perl v5.8.8.
