<div dir="ltr">Yep. dumpbin is happy, and moving libeay.dll out of the way and it still seems to work. So it seems you've fixed the dependencies. Thanks for that.<div><br></div><div>John</div><div>=:-></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 4:40 PM, Gabriel Samfira <span dir="ltr"><<a href="mailto:gsamfira@cloudbasesolutions.com" target="_blank">gsamfira@cloudbasesolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">It appears that the binary version of OpenSSL only had stubs for static linking. I had to compile openSSL as well. On my system, mongo was picking up the openssl library from tortoiseHG.
<br>
<br>
The binary in the wiki has been updated. Please give it one last try. You should see output identical to:<br>
<br>
PS C:\bin> .\mongod.exe --version<br>
db version v2.6.3<br>
2015-04-07T15:35:03.872-0700 git version: 255f67a66f9603c59380b2a389e386910bbb52cb<br>
2015-04-07T15:35:03.872-0700 OpenSSL version: <b>OpenSSL 1.0.1m 19 Mar 2015</b><br>
<br>
For future reference if anyone tries to statically compile mongod on windows:<br>
<br>
scons --ssl --release --64 --static --extrapath=C:\Build-OpenSSL-VC-64 --extralib=Advapi32.lib,User32.lib,Ole32.lib,Oleaut32.lib,Gdi32.lib<br>
<br>
<br>
Cheers,<br>
Gabriel<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> John Meinel [<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>]<br>
<b>Sent:</b> Tuesday, April 07, 2015 11:09 AM<div><div class="h5"><br>
<b>To:</b> Gabriel Samfira<br>
<b>Cc:</b> <a href="mailto:juju-dev@lists.ubuntu.com" target="_blank">juju-dev@lists.ubuntu.com</a><br>
<b>Subject:</b> Re: Testing on windows<br>
</div></div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">So the file I downloaded from you last week had:
<div>
<div><br>
</div>
<div>C:\dev\bin>.\mongod.exe --version</div>
<div>db version v2.6.3</div>
<div>2015-04-07T12:07:20.956+0400 git version: 255f67a66f9603c59380b2a389e386910bbb52cb</div>
<div>2015-04-07T12:07:20.957+0400 OpenSSL version: OpenSSL 1.0.2a 19 Mar 2015</div>
</div>
<div><br>
</div>
<div>And dumpbin says it needs the dll:</div>
<div>
<div>C:\dev\bin>"\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\dumpbin.exe" mongod.exe /dependents</div>
<div>Microsoft (R) COFF/PE Dumper Version 12.00.31101.0</div>
<div>Copyright (C) Microsoft Corporation. All rights reserved.</div>
<div><br>
</div>
<div><br>
</div>
<div>Dump of file mongod.exe</div>
<div><br>
</div>
<div>File Type: EXECUTABLE IMAGE</div>
<div><br>
</div>
<div> Image has the following dependencies:</div>
<div><br>
</div>
<div> WS2_32.dll</div>
<div> KERNEL32.dll</div>
<div> ADVAPI32.dll</div>
<div> PSAPI.DLL</div>
<div> dbghelp.dll</div>
<div> WINMM.dll</div>
<div> LIBEAY32.dll</div>
<div> SSLEAY32.dll</div>
<div><br>
</div>
<div> Summary</div>
<div><br>
</div>
<div> 441000 .data</div>
<div> B1000 .pdata</div>
<div> 457000 .rdata</div>
<div> 12000 .reloc</div>
<div> C70000 .text</div>
<div> 1000 .tls</div>
</div>
<div><br>
</div>
<div>I just downloaded the mongo-static.zip again and extracted the .exe. It says the same thing.</div>
<div>The link I'm following is on this page: <a href="http://wiki.cloudbase.it/juju-testing" target="_blank">http://wiki.cloudbase.it/juju-testing</a></div>
<div>and links to this file: <a href="http://wiki.cloudbase.it/_media/mongo-static.zip" target="_blank">http://wiki.cloudbase.it/_media/mongo-static.zip</a></div>
<div><br>
</div>
<div>John</div>
<div>=:-><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr 3, 2015 at 1:03 PM, Gabriel Samfira <span dir="ltr">
<<a href="mailto:gsamfira@cloudbasesolutions.com" target="_blank">gsamfira@cloudbasesolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">I updated the wiki. The Start-BitsTransfer step downloaded the old archive.<br>
<br>
The mongo-static.zip contains a statically built mongo with ssl enabled. I installed a system from scratch and after following the steps on the wiki, and got to mongo the result was:<br>
<br>
PS C:\Users\Administrator> .\mongod.exe --version<br>
db version v2.6.3<br>
2015-04-03T11:56:04.678-0700 git version: 255f67a66f9603c59380b2a389e386910bbb52cb<br>
2015-04-03T11:56:04.678-0700 OpenSSL version: OpenSSL 0.9.8r 8 Feb 2011<br>
<br>
If its not too much trouble, can you give it another shot? (if you have a snapshot of a vanilla windows install and time of course)<br>
<br>
Cheers,<br>
Gabriel<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> John Meinel [<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>]<br>
<b>Sent:</b> Wednesday, April 01, 2015 9:55 PM
<div>
<div><br>
<b>To:</b> Gabriel Samfira<br>
<b>Cc:</b> <a href="mailto:juju-dev@lists.ubuntu.com" target="_blank">juju-dev@lists.ubuntu.com</a><br>
<b>Subject:</b> Re: Testing on windows<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">The one I have says it was "Date Modified" 2015-03-22 and is 18,136KB in size. (mongo-static.zip is 6,934 KB).
<div><br>
John</div>
<div>=:-></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 1, 2015 at 10:54 PM, John Meinel <span dir="ltr">
<<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I did get it from the wiki, and the link said "static", however, it did still complain that I didn't have OpenSSL. Perhaps a build step was missed on the latest one and it wasn't noticed because the OpenSSL library was on the machine you were
testing on?
<div><br>
John</div>
<div>=:-><br>
<br>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 1, 2015 at 8:49 PM, Gabriel Samfira <span dir="ltr">
<<a href="mailto:gsamfira@cloudbasesolutions.com" target="_blank">gsamfira@cloudbasesolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi John,<br>
<br>
OpenSSL was needed for mongo, but I have since recompiled mongo statically. So if you got the binary from the wiki, OpenSSL should no longer be needed as a mandatory dependency.<br>
<br>
I will not be able to try and reproduce the error today, but I will have a look at that particular test tomorrow.<br>
<br>
Cheers,<br>
Gabriel<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> John Meinel [<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>]<br>
<b>Sent:</b> Wednesday, April 01, 2015 1:46 PM<span><br>
<b>To:</b> Gabriel Samfira<br>
<b>Cc:</b> <a href="mailto:juju-dev@lists.ubuntu.com" target="_blank">juju-dev@lists.ubuntu.com</a><br>
<b>Subject:</b> Re: Testing on windows<br>
</span></font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>... </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div></div>
<div>I did end up getting some tests running (though I did get a "charm not found" failure). It did end up getting killed with "test ran to long" after 10 min.</div>
</div>
</blockquote>
<div><br>
</div>
<div>For those following along it was <a href="https://bugs.launchpad.net/juju-core/+bug/1439112" target="_blank">
cmd/juju DeploySuite.TestUpgradeCharmDir</a> that failed.</div>
<div><br>
</div>
<div>John</div>
<div>=:-></div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><br>
</div>
<div>So it seems the doc is slightly incomplete, but mostly there.</div>
<div><br>
</div>
<div>John</div>
<div>=:-></div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 19, 2015 at 5:40 AM, Gabriel Samfira <span dir="ltr">
<<a href="mailto:gsamfira@cloudbasesolutions.com" target="_blank">gsamfira@cloudbasesolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello folks,<br>
<br>
It has come to my attention that there may be some confusion in regards<br>
to some Windows testing. There have been a couple of branches that have<br>
merged which break windows tests in juju-core.<br>
<br>
I would like to remind everyone that there is a guide available at:<br>
<br>
<a href="http://wiki.cloudbase.it/juju-testing" target="_blank">http://wiki.cloudbase.it/juju-testing</a><br>
<br>
that will help you set up a testing environment on Windows. Also, if<br>
there are any questions regarding Windows weirdness, please feel free to<br>
contact me on irc (gsamfira) or bogdanteleaga. We will be more then<br>
happy to help you navigate any Windows issues you might have.<br>
<br>
<br>
Kind regards,<br>
Gabriel<br>
<span><font color="#888888">--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>