Discussion:
wget for windows does not start on certain PCs
a***@sb-brixen.it
2010-11-08 14:16:20 UTC
Permalink
Hello,

on my PC I have wget for windows with this libs
libeay32.dll 1.0.0a
libiconv2.dll 1.12.2872.39125
libintl3.dll 0.14.4.1952
libssl32.dll 1.0.0a
ssleay32.dll 1.0.0a
wget.exe 1.11.4.3287

When I copy it to another PC then wget does not start and windows
tells me that it could not iniztialize teh application ( 0xc015002).
With procmon I traced the start of wget.
The last entry I get before the task is killed is an access to a file
libeay32.dll.2.Config

Can anyone tell me what this file is and where I can get it from ?
Why does wget work on my PC without this file ?

Thanks
Andreas
Ángel González
2010-11-08 21:01:35 UTC
Permalink
Post by a***@sb-brixen.it
Hello,
on my PC I have wget for windows with this libs
libeay32.dll 1.0.0a
libiconv2.dll 1.12.2872.39125
libintl3.dll 0.14.4.1952
libssl32.dll 1.0.0a
ssleay32.dll 1.0.0a
wget.exe 1.11.4.3287
When I copy it to another PC then wget does not start and windows
tells me that it could not iniztialize teh application ( 0xc015002).
With procmon I traced the start of wget.
The last entry I get before the task is killed is an access to a file
libeay32.dll.2.Config
Can anyone tell me what this file is and where I can get it from ?
Why does wget work on my PC without this file ?
Thanks
Andreas
That .config may be an SxS xml file. It should work without it.
Where did you get those files from? Who compiled them. Maybe
libeay32.dll was compiled with Visual Studio and wget with a
different compiler?
a***@sb-brixen.it
2010-11-09 06:43:01 UTC
Permalink
Post by Ángel González
That .config may be an SxS xml file. It should work without it.
Where did you get those files from? Who compiled them. Maybe
libeay32.dll was compiled with Visual Studio and wget with a
different compiler?
Hello,

yesterday, after I saw the problem, I did download all a second time
starting from

http://gnuwin32.sourceforge.net/packages/wget.htm

an following the link on this page.

Bye
Andreas

Ray Satiro
2010-11-09 03:04:46 UTC
Permalink
Post by a***@sb-brixen.it
With procmon I traced the start of wget.
The last entry I get before the task is killed is an access
to a file
libeay32.dll.2.Config
Can anyone tell me what this file is and where I can
get it from ?
Why does wget work on my PC without this file ?
My guess is the Wget or OpenSSL (probably OpenSSL) you have was compiled using Microsoft Visual C++, and on the other computer you don't have Microsoft's redistributable packages installed. config files make me think .net however seeing an attempted access doesn't mean it's a required file.

aside from libeay32, libssl32, ssleay32, the files you listed have the same version numbers as those released by the gnuwin32 project. do you know the origin of the other files?

ssleay32.dll traditionally and as far as I know is only generated during a visual c++ compile, and only under my own weird circumstances have I seen it generated otherwise (in msys once or twice when fooling with some scripts). Maybe someone made a copy of libssl32.dll as ssleay32.dll for compatibility reasons. As far as I'm concerned that's not a good idea.


But for now let's assume you're missing the redistributable needed by your msvc ssleay32.dll. install microsoft c++ redistributable
http://www.microsoft.com/downloads/en/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2

or you can try this later wget 1.12 and openssl 1.0.0a compile. also note that using wget 1.11.4 for https exposes you to a security issue, so it's best to use a later version.
http://sourceforge.net/projects/getgnuwin32/files/
download wget-1.12.1-devel-and-openssl-1.0.0a.zip
put files in a separate directory
Loading...