in reply to Re^2: Creating Standalone Win32 Executable
in thread Creating Standalone Win32 Executable

please let me know if somehow I could make the dll file included in the exe itself.

Have you even read the docs?

-l, --link=FILE|LIBRARY Add the given shared library (a.k.a. shared object or DLL) into th +e packed file. Also accepts names under library paths; i.e. -l ncurse +s means the same thing as -l libncurses.so or -l /usr/local/lib/libnc +urses.so in most Unixes. May be specified multiple times.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^4: Creating Standalone Win32 Executable
by bihuboliya (Acolyte) on Jul 20, 2012 at 09:54 UTC
    Hi Zentara,

    I have already tried with that, but still am getting the error messages 'program cannot start because perl514.dll is missing...'

    I used the command: pp --link=perl514.dll -o final.exe myScript.pl. I kept the dll file in the current folder to have pp see it.

      Sometimes these problems are simple typing mistakes. For instance, in your original post, you claim the error is "The program cannot start because Perl514.dll is missing", but in your link
      pp --link=perl514.dll -o final.exe myScript.pl
      you use lowercase perl514.dll.

      Perl514 !~ perl514 .Possibly you have a spelling typo, or maybe you need to specify the path to dll with more accuracy? Like ./perl514.dll or maybe it's full path. There are alot of possible causes of this glitch, see perl514.dll issue with pp. You might need to set the -L for the library directory path in addtion to the dll file.

      Good luck hacking out these possibilites.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh
        Windows is case insensitve but case preserving.
Re^4: Creating Standalone Win32 Executable
by Anonymous Monk on Jul 20, 2012 at 09:47 UTC

    Have you even read the docs?

    Have you?

    No need to gang-up on the newbie, I think i was doing fine by myself ::)

    perl514.dll shouldn't be missing, its integral to par/pp, it should get packed each time, so -l option shouldn't be used for perl514.dll

      Have you?

      Yeah, I read as far down into the list of options, as I needed to, to get that option, then reported back. But now in another node, he said he tried that, and even that option dosn't work. Just what the heck is it with that pp program anyways? Are self-contained programs really better than just having decent Perl installation to begin with? How come people have so much trouble with it? Dosn't it seem that it will likely be full of problems on the target machines, especially if the create machines has problems even creating it?

      Sometimes I think perlmonks has become a test bed for psychological testing. ..oO(hhmmmm, I wonder) :-)


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh