fink --version
Package manager version: 0.27.7
Distribution version: 0.8.1.rsync i386
fink list netcdf
Information about 6590 packages read in 2 seconds.
i netcdf 3.6.2-6 Interface & lib for array-
based data access
netcdf-absoft 3.5.1-1014 Lib for array-oriented
data & interface to Absoft Fortran
netcdf-absoft-bin 3.5.1-1014 Lib for array-oriented
data & interface to Absoft Fortran
netcdf-absoft-sh... 3.5.1-1014 Lib for array-oriented
data & interface to Absoft Fortran
i netcdf-bin 3.6.2-6 Interface & lib for array-
based data access
netcdf-g95 3.6.2-6 Interface & lib for array-
based data access
netcdf-g95-shlibs 3.6.2-6 Interface & lib for array-
based data access
i netcdf-gfortran 3.6.2-7 Interface & lib for array-
based data access
i netcdf-gfortran-... 3.6.2-7 Interface & lib for array-
based data access
netcdf-perl-pm586 1.2.3-6 Perl extension for netCDF
datasets access
i netcdf-shlibs 3.6.2-6 Interface & lib for array-
based data access
If you are not seeing this, then do "fink selfupdate" and make
certain you are running the latest, and also run "fink configure" and
tell it to use "unstable". I have used both versions of netcdf with
success.
-Roy
On Nov 6, 2007, at 8:16 AM, Ian Harris wrote:
Hi Roy,
On 6 Nov 2007, at 15:35, Roy Mendelssohn wrote:
1. Install fink
I already use it, that's where g95 came from.. and one of the netcdf
attempts.
2, fink install netcdf-gfortran (or fink install netcdf-g95)
Failed: no package found for specification 'netcdf-gfortran'!
Failed: no package found for specification 'netcdf-g95'!
I'll assume, then, that you meant to use fink to install those
separately?
Well if I install netcdf first, I can't be sure which compiler it
will build the fortran libraries for.. so I must add that first?
Can't install gfortran with fink, so (re-) installed g77 (and g95 of
course) with fink. Rehashed. Installed fink netcdf again.
No change:
[lea:Working/programs/netcdf_sandbox] ianharri% f77 -o simple_xy_wr
simple_xy_wr.f
/usr/bin/ld: Undefined symbols:
_nf_close__
_nf_create__
_nf_def_dim__
_nf_def_var__
_nf_enddef__
_nf_put_var_int__
_nf_strerror__
collect2: ld returned 1 exit status
Thanks for the suggestions though.
Harry
-Roy M.
On Nov 6, 2007, at 6:38 AM, Ian Harris wrote:
Hi,
I've resubbed after a long absence, because I'm trying to get the
NetCDF libraries (including those for F77 and F90) installed on a
Mac
(2xG5 PowerPc Processors, OS 10.4.10).
The problem is that, when I try the first f77 test program
('simple_xy_wr.f'), the compilation fails with the familiar
underscore-laden symbol errors.
I've tried downloading the binaries, and compiling from source. I've
tried all combinations of gfortran and g77 for both NetCDF install
and test compile. I've played with the g95 -no_second_underscore
(and
other!) options. I've spent two days on it so far and I'm going
quietly mad..
Has anyone managed to get the NetCDF libraries (pref. 3.6.2 but by
now I'll settle for anything) working on OS X? Is there a foolproof
guide anywhere?
I've looked at the thread earlier this year but it doesn't seem to
help, sorry.
System, etc details:
Mac OS X 10.4.10
Dual 2 GHz PowerPC G5
1 GB DDR SDRAM
g77 - not currently installed (has been tried)
gfortran version GCC 4.0.2
Cheers
Harry
Ian "Harry" Harris
Climatic Research Unit
School of Environmental Sciences
University of East Anglia
Norwich NR4 7TJ
United Kingdom
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://
www.unidata.ucar.edu/mailing_lists/
**********************
"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."
Ian "Harry" Harris
Climatic Research Unit
School of Environmental Sciences
University of East Anglia
Norwich NR4 7TJ
United Kingdom
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://
www.unidata.ucar.edu/mailing_lists/
**********************
"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."