> -----Original Message-----
> From: Robert Davis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 20, 2008 6:43 PM
> To: [email protected]
> Subject: Undefined subroutine &DynaLoader::bootstrap ERROR
>
> I get this error:
> Undefined subroutine &DynaLoader::bootstrap called at
> /usr/lib/perl5/5.8/cygwin/XSLoader.pm line 111.
> Compilation failed in require at
/usr/lib/perl5/5.8/cygwin/IO/Handle.pm
> line 262.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/5.8/cygwin/IO/Handle.pm line 262.
> Compilation failed in require at
> /usr/lib/perl5/5.8/cygwin/IO/Seekable.pm line 101.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/5.8/cygwin/IO/Seekable.pm line 101.
> Compilation failed in require at /usr/lib/perl5/5.8/cygwin/IO/File.pm
> line 133.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/5.8/cygwin/IO/File.pm line 133.
> Compilation failed in require at -e line 376.
>
> I have to cygwin systems:
> Both winxp sp3
> The building system is:
>
> [EMAIL PROTECTED]/c/scripts$ cygcheck -c cygwin
> Cygwin Package Information
> Package Version Status
> cygwin 1.5.25-7 OK
>
> The receiving system is:
>
> [EMAIL PROTECTED]:~$ cygcheck -c cygwin
> Cygwin Package Information
> Package Version Status
> cygwin 1.5.19-4 OK
>
> I build the exe with:
>
> pp -d -o e.exe -e 'print "hello\n"'
>
> and I have built it without the -d same result.
> I have par
>
> cpan> i /PAR::Packer/
> Module id = PAR::Packer
> CPAN_USERID SMUELLER (Steffen Mueller <[EMAIL PROTECTED]>)
> CPAN_VERSION 0.980
> CPAN_FILE S/SM/SMUELLER/PAR-Packer-0.980.tar.gz
> MANPAGE PAR::Packer - PAR Packager
> INST_FILE /usr/lib/perl5/site_perl/5.8/PAR/Packer.pm
> INST_VERSION 0.978
>
> Whats wrong or/and how do I debug this?
> I have tried PAR_GLOBAL_DEBUG and it shows the files being extracted.
It seems that even if I distribute to the target machine
Cygwin1.dll
Cygcrypt-0.dll
Cygperl5_8.dll
I still get an error because of incompatible versions of cygwin1.dll
etc.
--------------
[EMAIL PROTECTED]:/c/temp$ e
4 [main] ? (3884) c:\scripts\e.exe: *** fatal error - system
shared memory version mismatch detected - 0x75BE0096/0x8A88009C.
This problem is probably due to using incompatible versions of the
cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
------------------
I will try tonight and see if all other cygwin programs are stopped
whether the program will use the versions in the cwd and wont get the
shared memory error.
On another note and I will repost this to the list. I have had to
predistribute cygperl5_8.dll to the target machines. I looked in the
cache directory and found libperl.dll.a when I omitted the "-d" option.
Shouldn't the absence of the "-d" option include cygperl5_8.dll on
cygwin PAR distributions?
bob