[gmx-users] Installing topolbuild
viveksharma.iitb at gmail.com
Fri Mar 6 08:29:32 CET 2009
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.
And some precise installation instruction can help me more, as I am not
comfortable with linux env.
Thanks a lot for your help.
2009/3/5 Bruce D. Ray <brucedray at yahoo.com>
> On Thursday, March 5, 2009 1:47:28 AM,
> vivek sharma <viveksharma.iitb at gmail.com> wrote:
> *> I am trying to Install topolbuild on my system, while doing so with
> > the make file given in the topolbuild folder. but I end up with a list
> > of error mentioned below:
> > ......
> > .
> > .
> > .
> > .compare_FF.c:(.text+0x1285): undefined reference to `exp'
> > compare_FF.c:(.text+0x12cc): undefined reference to `sqrt'
> > collect2: ld returned 1 exit status
> > make: *** [topolbuild] Error 1
> > If somebody has tried this. please help me in figuring out the problem.
> The errors mean that ld cannot locate the math library ( the -lm in the
> compilation instruction in Makefile which tells it to link against libm.*
> that is usually found in /usr/lib . On most *nix's, this is libm.so but
> its libm.dylib on Mac OS X.) If libm.* is not present in either the
> standard location, or in someplace pointed to by LD_LIBRARY_PATH
> then it will not be found.
> What is the system on which you are trying to build, where is libm.*
> located, and what is LD_LIBRARY_PATH set to? If libm.* is in
> some unusuall place, then the easiest way to go is to add that location
> to LD_LIBRARY_PATH
> As a side note, an early version of topolbuild was missing the -lm
> in the compilation instruction in Makefile. I checked what I've
> submitted since then and the makefiles all have the -lm as the last
> item in the compilation instruction.
> Bruce D. Ray, Ph.D.
> Associate Scientist
> Physics Dept.
> 402 N. Blackford St.
> Indianapolis, IN 46202-3273
> gmx-users mailing list gmx-users at gromacs.org
> Please search the archive at http://www.gromacs.org/search before posting!
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-users