<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Mark,</span></div><div><span></span>&nbsp;</div><div><span>What would be the difference between the shared lib and static lib?</span></div><div><span></span>&nbsp;</div><div><span>Cheers,</span></div><div><span></span>&nbsp;</div><div><span>Acoot</span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt;<br> <b><span style="font-weight:
 bold;">To:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 21 March 2012 2:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [gmx-users] resolution of cygwin installation issues<br> </font> </div> <br>Hi,<br><br>After all the recent trouble with people attempting to install on Cygwin with autoconf, I went and tried it myself. I knew GROMACS 4.5.5 built with CMake on Cygwin.<br><br>It turns out the default installation of FFTW uses static libraries, and with the default configuration of GROMACS the linker has trouble with that. In the very long make output of GROMACS it warns<br><br>*** Warning: This system can not link to static lib archive /usr/local/lib/libfftw3f.la.<br>*** I have the capability to make that library automatically link in when<br>*** you link to this library.&nbsp; But I can only do this if you have a<br>*** shared version of
 the library, which you do not appear to have.<br><br>before going on to report failure to link to a bunch of symbols in the FFTW library. If those who'd been having trouble had reported this, then they'd have had a quicker solution :)<br><br>With default FFTW installed in the default location (/usr/local, configured with "./configure --enable-sse --enable-float"), I succeeded in building GROMACS on a new installation of Cygwin with<br><br>./configure --disable-threads CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib --enable-all-static --without-xml<br>make<br><br>I experimented a bit with trying to get shared libraries to work, but didn't succeed. Too bad. I have updated <a href="http://www.gromacs.org/Documentation/Installation_Instructions/Cygwin_HOWTO" target="_blank">http://www.gromacs.org/Documentation/Installation_Instructions/Cygwin_HOWTO</a>. Hope this is useful.<br><br>Mark<br><br><br>-- gmx-users mailing list&nbsp; &nbsp; <a
 href="mailto:gmx-users@gromacs.org" ymailto="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" ymailto="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br><br><br> </div> </div>  </div></body></html>