cannot find -lsrfftw... collect2: ld returned 1 exit status

From: Anupam Nath Jha (anupam_at_mbu.iisc.ernet.in)
Date: Sun Jul 13 2008 - 12:59:09 CDT

   Dear all
  when i am running "make" in '/soft/NAMD_2.6_Source/Linux-i686-MPI-icc'.. it's
showing this error--

/usr/bin/ld: cannot find -lsrfftw
collect2: ld returned 1 exit status
Fatal Error by charmc in directory /soft/NAMD_2.6_Source/Linux-i686-MPI-icc
.........................
make: *** [namd2] Error 1

whereas i have given the correct path in:
/soft/NAMD_2.6_Source/arch/Linux-i686.fftw
it's---------

FFTDIR=/soft/fftw312
FFTINCL=-I$(FFTDIR)/include
FFTLIB=-L$(FFTDIR)/lib -lsrfftw -lsfftw
FFTFLAGS=-DNAMD_FFTW
FFT=$(FFTINCL) $(FFTFLAGS)

but previously i had only fftw3.h in my include dir of fftw installation, so i
copied rfftw.h and srfftw.h from net and put it there.
but still it's giving error.

with regards
anupam

-- 
Science is facts; just as houses are made of stone, so is science is made of
facts; but a pile of stones is not a house, and  a collection of facts is not
necessarily science.
Anupam Nath Jha
Ph. D. Student
Saraswathi Vishveshwara Lab
Molecular Biophysics Unit
IISc,Bangalore-560012
Karnataka
Ph. no.-22932611

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:49:39 CST