Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 13249
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.89
Fixed in: (no value)



Subject: PL_memory_wrap error again!
Trying to package a Perl/Tk GUI executable results in a error dialog being displayed and then the program terminates. Error message is "The procedure entry point PL_memory_wrap could not be located in the dynamic link library perl58.dll". Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
On Di. 14. Jun. 2005, 13:35:58, guest wrote: Show quoted text
> Trying to package a Perl/Tk GUI executable results in a error dialog being > displayed and then the program terminates. Error message is "The > procedure entry point PL_memory_wrap could not be located in the > dynamic link library perl58.dll". > > Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
There is a problem with some ActivePerl builds. 816 is known not to export PL_memory_wrap. Could you please retry with a knwon working release of AS Perl (815 for example) and the newest PAR (0.92)? Please post the results as an answer to this ticket. Thank you very much for your patience. Steffen
On Sun Mar 26 07:18:07 2006, SMUELLER wrote: Show quoted text
> On Di. 14. Jun. 2005, 13:35:58, guest wrote:
> > Trying to package a Perl/Tk GUI executable results in a error dialog
being Show quoted text
> > displayed and then the program terminates. Error message is "The > > procedure entry point PL_memory_wrap could not be located in the > > dynamic link library perl58.dll". > > > > Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
> > There is a problem with some ActivePerl builds. 816 is known not to > export PL_memory_wrap. > > Could you please retry with a knwon working release of AS Perl (815 for > example) and the newest PAR (0.92)? Please post the results as an answer > to this ticket. > > Thank you very much for your patience. > > Steffen
I get this problem with all ActivePerl builds beyond 5.8.6 and the Bribes repository builds of PAR. I've tried all Bribes PAR builds up to 0.92 and ActivePerl releases up to 816. I haven't tried the ActivePerl 817 release yet. At first, I believed as you do that it was a problem with the ActivePerl releases. However, I've found that there is a PAR-587 ppm at the University of Winnipeg repository that works with both of the ActivePerl 5.8.7 builds. Yay! So, it would seem this has something to do with how PAR is built. The PAR-587 build seems to require 5.8.7 and not 5.8.7+. At least, it doesn't work with ActivePerl 816, which is based on 5.8.8. University of Winnipeg repository is at: http://theory.uwinnipeg.ca/ppms/ Hope that helps!
From: danmcb
I also have this problem, trying to make an exe of a perl script that runs on winxp. The script uses some external modules (serial port stuff for instance). I can check if things are OK with a simpler script perhaps. this is ActivePerl build 815 [211909] and some extra patches - can give more details on request (just mail me, danielmcbrearty AT gmail ).
From: danmcb
I seem to have fixed the problem by doing: ppm install http://theoryx5.uwinnipeg.ca/ppms/PAR-588.ppd
On Di. 14. Jun. 2005, 13:35:58, guest wrote: Show quoted text
> Trying to package a Perl/Tk GUI executable results in a error dialog being > displayed and then the program terminates. Error message is "The > procedure entry point PL_memory_wrap could not be located in the > dynamic link library perl58.dll". > > Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
For some reason, my latest answer was eaten by RT. So here it is a second time: This is a problem of binary incompatibility between some builds of ActiveState Perl and some binary packages of PAR. Since this problem came up quite often, I have started a compatibility list for ActivePerl versions and PAR binaries. It was compiled with the friendly help of Randy Kobes of uwinnipeg and Jean-Louis Morel, who maintains the bribes repository. You can find it at http://par.wikia.com/wiki/PAR_PPM_Compatibility_List HTH, Steffen
From: Anand Chavan
On Wed May 24 07:14:45 2006, SMUELLER wrote: Show quoted text
> On Di. 14. Jun. 2005, 13:35:58, guest wrote:
> > Trying to package a Perl/Tk GUI executable results in a error
dialog being Show quoted text
> > displayed and then the program terminates. Error message is "The > > procedure entry point PL_memory_wrap could not be located in the > > dynamic link library perl58.dll". > > > > Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
> > > For some reason, my latest answer was eaten by RT. So here it is a > second time: > > This is a problem of binary incompatibility between some builds of > ActiveState Perl and some binary packages of PAR. Since this problem > came up quite often, I have started a compatibility list for
ActivePerl Show quoted text
> versions and PAR binaries. It was compiled with the friendly help of > Randy Kobes of uwinnipeg and Jean-Louis Morel, who maintains the
bribes Show quoted text
> repository. You can find it at > http://par.wikia.com/wiki/PAR_PPM_Compatibility_List > > HTH, > Steffen
I also got similar problem when I run progrram use DBI; my $DB = 'DBI:Oracle:host=pund2k738;sid=my920'; my $dbh = DBI->connect( $DB , 'test', 'test', ) || die "Database connection not made: $DBI::errstr"; $dbh->disconnect(); Error comes on window The procedure entry point Perl_Glockhook_ptr could not be located in the dynamic link library perl58.dll when I press ok it shows Error install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The sp ecified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at db2.pl line 5
On Do. 06. Jul. 2006, 01:41:35, guest wrote: Show quoted text
> On Wed May 24 07:14:45 2006, SMUELLER wrote:
> > On Di. 14. Jun. 2005, 13:35:58, guest wrote:
> > > Trying to package a Perl/Tk GUI executable results in a error
> dialog being
> > > displayed and then the program terminates. Error message is "The > > > procedure entry point PL_memory_wrap could not be located in the > > > dynamic link library perl58.dll". > > > > > > Using ActivePerl-5.8.7.813-MSWin32-x86-148120 + PAR 0.89
> > > > > > For some reason, my latest answer was eaten by RT. So here it is a > > second time: > > > > This is a problem of binary incompatibility between some builds of > > ActiveState Perl and some binary packages of PAR. Since this problem > > came up quite often, I have started a compatibility list for
> ActivePerl
> > versions and PAR binaries. It was compiled with the friendly help of > > Randy Kobes of uwinnipeg and Jean-Louis Morel, who maintains the
> bribes
> > repository. You can find it at > > http://par.wikia.com/wiki/PAR_PPM_Compatibility_List > > > > HTH, > > Steffen
> > > I also got similar problem > when I run progrram > > use DBI; > my $DB = 'DBI:Oracle:host=pund2k738;sid=my920'; > my $dbh = DBI->connect( $DB , 'test', 'test', ) || die "Database > connection not made: $DBI::errstr"; $dbh->disconnect(); > > Error comes on window > The procedure entry point Perl_Glockhook_ptr could not be located in > the dynamic link library perl58.dll > > when I press ok it shows Error > > install_driver(Oracle) failed: Can't > load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module > DBD::Oracle: load_file:The sp > ecified procedure could not be found at C:/Perl/lib/DynaLoader.pm line > 230. > at (eval 3) line 3 > Compilation failed in require at (eval 3) line 3. > Perhaps a required shared library or dll isn't installed where expected > at db2.pl line 5
This looks like one of the following things is happening, but not like the problem that caused the PL_memory_wrap error: - Not all necessary dll's for DBD::Oracle have been included in your pp-ed file. Try explicitly including them. (See the -l command line option. Perhaps also -a or -M.) - You are witnessing a bug with (or lack of support for) Dynaloader / Autoloader, etc. based modules. Problem is that sometimes not all .al or similar files are picked up and understood as what they are. This was brought up in ticket https://rt.cpan.org/Public/Bug/Display.html?id=11354 If you are having trouble packaging a specific application, please turn to par@perl.org where other users can try to help as well. If the ensuing discussion leads to the discovery of a bug, please create a new RT ticket including your platform, PAR and perl details. Thanks! Steffen