[gmx-users] gromacs on mac osx

Choon Peng cpchng at bii.a-star.edu.sg
Thu Sep 23 03:10:27 CEST 2004

Hi Erik,

  I got this error when 'Make' reached:

cc -O6 -fomit-frame-pointer -finline-functions -Wall -Wno-unused
-no-cpp-precomp -finline-limit=1000 -faltivec -funroll-all-loops -mcpu=7450
-mtune=970 -I/usr/include/libxml2 -o grompp topio.o toppush.o topcat.o
topshake.o convparm.o tomorse.o sorting.o splitter.o dum_parm.o readir.o
add_par.o topexcl.o toputil.o topdirs.o grompp.o  ../mdlib/.libs/libmd.a
-L/usr/X11R6/lib -L/usr/lib ../gmxlib/.libs/libgmx.a -L/usr/local/lib
-L/sw/lib /usr/local/lib/libsrfftw.a /usr/local/lib/libsfftw.a -lXm
-llanginfo -lXt -lSM -lICE -lXext -lXp -lX11 -lxml2 -lz -lpthread -liconv
ld: can't locate file for: -llanginfo

I can find langinfo.h in /usr/include but not liblanginfo.a in /usr/lib.
I have installed Fink on my system but /sw/include nor /sw/lib has anything
to do with "langinfo".

Searched the web and only found one mention of Langinfo on SourceForge but
the info doesn't help much.
Can't even find where I can get the library.

I'm currently running 10.3.5 with Darwin Kernel Version 7.5.0 and compiling
with GCC 3.3 from Apple.



On 9/22/04 11:40 PM, "Erik Lindahl" <lindahl at sbc.su.se> wrote:

> Hi Choon,
> Please send me the error message when the compile fails and I'll see if
> I can fix it.
> Cheers,
> Erik
> On Sep 22, 2004, at 3:16 AM, Choon Peng wrote:
>> Hi Eric,
>>   I mean try using the full path, say:
>> /usr/local/gromacs/powerpc-apple-darwin7.0.0/bin/grompp
>> However, what I have on my laptop is the 3.1.5_pre1 version. Having
>> problems
>> compiling 3.2.1 on my PowerBook but ok on our PowerMac G5...
>> Guess I'll have to try again.
>> cheers,
>> Choon Peng

More information about the gromacs.org_gmx-users mailing list