[xcrysden] fftw, meschach library problems, 1.5.23, Mac OS X Snow Leopard

Tone Kokalj tone.kokalj at ijs.si
Wed Jun 8 08:53:54 CEST 2011


On Fri, 2011-06-03 at 13:53 -0600, David M. Wood wrote:
> Howdy all!
> 
> I am trying a severely revised Make.sys with system or macports dynamic libraries providing fftw version 3.2.2 and meschach version 1.2b using gfortran 4.4
> 
> I get:
> Undefined symbols for architecture x86_64:
>   "_getline", referenced from:


For the undefined "_getline", add the -DXC_HAVE_NO_GETLINE to CFLAGS.


For the fftw and meschach related undefined symbols, it is difficult to
say. May be even the trailing underscore related problem. You may check
the static libraries by nm command. i.e.:

nm libfftw3.a | grep fftw_destroy_plan


to see whether you get _fftw_destroy_plan or some other (underscore)
variant of it.

Regards, Tone

-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html



More information about the XCrySDen mailing list