Hi Ted.
Could be another netcdf somewhere, I suppose, but shouldn't be. I'll check
that. The 4.1.3 is an error that I noticed and corrected subsequently but made
no difference. I also use a symbolic link to /usr/local/netcdf from
/usr/local/netcdf-4.1.2, but maybe I've mixed things up somehow. I'll verify
all that.
Cheers.
--------------
John Helly, University of California, San Diego / San Diego Supercomputer
Center / Scripps Institution of Oceanography / 760 840 8660 mobile /
stonesteps7 (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj
On Apr 2, 2011, at 8:52 PM, Ted Mansell wrote:
Except that the problem is at the linking stage. A missing include would have
failed at the compile stage of libMODS.a or libUTIL.a.
The configure prefix and -L don't match: should be
-L/usr/local/netcdf-4.1.3/lib and -L/usr/local/hdf5-1.8.6/lib
Possibly there is a /usr/local/netcdf that is a different version?
-- Ted
On Apr 2, 2011, at 10:02 PM, Roy Mendelssohn wrote:
>
> On Apr 2, 2011, at 7:58 PM, John Helly wrote:
>
>>> /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libMODS.a
>>> -L/usr/local/netcdf/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz
>>> -lcurl\
>
> Note you do not define the path to your includes in this statement. Add that
> as I suggested and see if it works. Assuming you have the netcdf n=binaries
> in your search path, do
>
> nc-config --includedir
>
> that will tell you which directory to include.
>
> -Roy
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> 1352 Lighthouse Avenue
> Pacific Grove, CA 93950-2097
>
> e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
> voice: (831)-648-9029
> fax: (831)-648-8440
> www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/