in reply to Re: Missing libeay32.dll from an exe generated with pp utility
in thread Missing libeay32.dll from an exe generated with pp utility

I tried using dependacy walker. It says "Error: At least one file was not a 32-bit or 64-bit Windows module."
  • Comment on Re^2: Missing libeay32.dll from an exe generated with pp utility

Replies are listed 'Best First'.
Re^3: Missing libeay32.dll from an exe generated with pp utility
by bulk88 (Priest) on Apr 18, 2012 at 21:18 UTC
    What is the full Dependency Walker log when you start the process using Dependency Walker?

    Strawberry Perl includes its own libeay and libssl in the c/bin folder. Make your Strawberry Path or what your giving to pp to include in the exe all matches up. I think you are using a libeay dll from something else that isn't strawberry perl. Thats very difficult to support (version/compile time options/cygwin or mingw or VC C lib).
      When i open the file using dependacy walker thats the message it came. Yeah i have installed mingw. If i uninstall it , how can i get my strawberry perl to use its own libssl and libeay ?
        You dont need OpenSSL to use Net:SSLeay. You need to fix your path. As I said before, Strawberry Perl has libeay and libssy in the /c/bin folder.

        ---------------------------------------------------------------------- +---------- Starting profile on 4/18/2012 at 8:45:59 PM Operating System: Microsoft Windows XP Professional (32-bit), version +5.01.2600 Service Pack 3 Program Executable: c:\sperl\perl\bin\PERL.EXE Program Arguments: -e "use Net::SSLeay;" Starting Directory: C:\sperl\perl\bin\ Search Path: C:\sperl\c\bin;C:\sperl\perl\site\bin;C:\sperl\perl\bin;C +:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem; Options Selected: Simulate ShellExecute by inserting any App Paths directories into + the PATH environment variable. Log DllMain calls for process attach and process detach messages. Hook the process to gather more detailed dependency information. Log LoadLibrary function calls. Log GetProcAddress function calls. Log first chance exceptions. Log debug output messages. Use full paths when logging file names. ---------------------------------------------------------------------- +---------- Started "c:\sperl\perl\bin\PERL.EXE" (process 0xB4) at address 0x00400 +000. Successfully hooked module. ...............CUT................ LoadLibraryExA("c:\sperl\perl\vendor\lib\auto\Net\SSLeay\SSLeay.dll", +0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "c:\sperl\perl +\bin\PERL512.DLL" at address 0x68B3CC74. Loaded "c:\sperl\perl\vendor\lib\auto\net\ssleay\SSLEAY.DLL" at addres +s 0x322A0000. Successfully hooked module. Loaded "c:\sperl\c\bin\LIBEAY32_.DLL" at address 0x6BA00000. Successf +ully hooked module. Loaded "c:\windows\system32\WSOCK32.DLL" at address 0x71AD0000. Succe +ssfully hooked module. Loaded "c:\sperl\c\bin\LIBSSL32_.DLL" at address 0x66B80000. Successf +ully hooked module. DllMain(0x71AD0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WSOCK32.DLL" called. DllMain(0x71AD0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WSOCK32.DLL" returned 1 (0x1). DllMain(0x6BA00000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\c\bin +\LIBEAY32_.DLL" called. DllMain(0x6BA00000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\c\bin +\LIBEAY32_.DLL" returned 1 (0x1). DllMain(0x66B80000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\c\bin +\LIBSSL32_.DLL" called. DllMain(0x66B80000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\c\bin +\LIBSSL32_.DLL" returned 1 (0x1). DllMain(0x322A0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\perl\ +vendor\lib\auto\net\ssleay\SSLEAY.DLL" called. GetProcAddress(0x77C10000 [c:\windows\system32\MSVCRT.DLL], "longjmp") + called from "c:\sperl\perl\vendor\lib\auto\net\ssleay\SSLEAY.DLL" at + address 0x322CED4E and returned 0x77C36D74. DllMain(0x322A0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\sperl\perl\ +vendor\lib\auto\net\ssleay\SSLEAY.DLL" returned 1 (0x1). LoadLibraryExA("c:\sperl\perl\vendor\lib\auto\Net\SSLeay\SSLeay.dll", +0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x322A0000. GetProcAddress(0x322A0000 [c:\sperl\perl\vendor\lib\auto\net\ssleay\SS +LEAY.DLL], "boot_Net__SSLeay") called from "c:\sperl\perl\bin\PERL512 +.DLL" at address 0x68B46D25 and returned 0x322A14B0. DllMain(0x322A0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\sperl\perl\ +vendor\lib\auto\net\ssleay\SSLEAY.DLL" called. ...............CUT................ Exited "c:\sperl\perl\bin\PERL.EXE" (process 0xB4) with code 0 (0x0).