Hi Bruce,<br>Thanks for your reply. I am workin on RHEL with architecture x86_64. when i searched for libm.* I got a few location, I tried "make: again after exporting these location in LD_LIBRARY_PATH. but i am getting the same error again. I think, i didn't downloaded the appropriate files for installation. Can you tell me the appropriate location to download the topolbuild.<br>
<br>And some precise installation instruction can help me more, as I am not comfortable with linux env. <br><br>Thanks a lot for your help.<br><br>WIth regards,<br>Vivek<br><br><div class="gmail_quote">2009/3/5 Bruce D. Ray <span dir="ltr"><<a href="mailto:brucedray@yahoo.com">brucedray@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">On Thursday, March 5, 2009 1:47:28 AM,<br>
<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><div></div><div class="h5"><font face="Tahoma" size="2">vivek sharma <<a href="mailto:viveksharma.iitb@gmail.com" target="_blank">viveksharma.iitb@gmail.com</a>> wrote:<br>
<b><span style="font-weight: bold;"> <br></span></b></font>> I am trying to Install topolbuild on my system, while doing so with<br>> the make file given in the topolbuild folder. but I end up with a list<br>> of error mentioned below:<br>
> ......<br>> .<br>> .<br>> .<br>> .compare_FF.c:(.text+0x1285): undefined reference to `exp'<br>>
compare_FF.c:(.text+0x12cc): undefined reference to `sqrt'<br>> collect2: ld returned 1 exit status<br>> make: *** [topolbuild] Error 1<br>> <br>> If somebody has tried this. please help me in figuring out the problem.<br>
<br></div></div>The errors mean that ld cannot locate the math library ( the -lm in the<br>compilation instruction in Makefile which tells it to link against libm.*<br>that is usually found in /usr/lib . On most *nix's, this is libm.so but<br>
its libm.dylib on Mac OS X.) If libm.* is not present in either the<br>standard location, or in someplace pointed to by LD_LIBRARY_PATH<br>then it will not be found.<br><br>What is the system on which you are trying to build, where is libm.*<br>
located, and what is LD_LIBRARY_PATH set to? If libm.* is in<br>some unusuall place, then the easiest way to go is to add that location<br>to LD_LIBRARY_PATH <br><br>As a side note, an early version of topolbuild was missing the -lm<br>
in
the compilation instruction in Makefile. I checked what I've<br>submitted since then and the makefiles all have the -lm as the last<br>item in the compilation instruction.<br><br><br>Sincerely,<br><br>-- <br>Bruce D. Ray, Ph.D.<br>
Associate Scientist<br>IUPUI<br>Physics Dept.<br>402 N. Blackford St.<br>Indianapolis, IN 46202-3273<div><br></div><br><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;"></span></b></font><br>
</div></div></div><br>
</div><br>_______________________________________________<br>
gmx-users mailing list <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don't post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br>