I noticed a netcdf-4.0.1 tarball on the unidata ftp site today, so I
downloaded it and tried to build it on macos x. The build fails because
of a duplicate symbol (_dapdebug) in both liboc_la-daptab.o and
ibnetcdf_la-dapdebug.o. netcdf-4.0.1-beta3 builds fine.
libtool: link: cc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
.libs/libnetcdf.6.dylib .libs/nc4attr.o .libs/nc4internal.o
.libs/nc4var.o .libs/nc4dim.o .libs/ncfunc.o .libs/nc4file.o
.libs/error.o .libs/nc4grp.o .libs/nc4type.o .libs/nc4hdf.o
.libs/libnetcdf.lax/libnetcdf.a/attr.o
.libs/libnetcdf.lax/libnetcdf.a/dim.o
.libs/libnetcdf.lax/libnetcdf.a/error.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-cdf3.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapalign.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapcvt.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapdebug.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapdispatch3.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapdump.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapodom.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-daputil.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dispatch3.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-getvar3.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-ncbytebuffer.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-ncdap3.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-ncdaperr.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-nchashmap.o
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-nclist.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-curlfunctions.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-dapparselex.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-daptab.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-dapurl.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-http.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-oc.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocbytes.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-occompile.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-occontent.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocdata.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocdebug.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocdrno.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocdump.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-oclist.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-oclog.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocnode.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocutil.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-ocxdr_stdio.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-rc.o
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-read.o
.libs/libnetcdf.lax/libnetcdf.a/libvers.o
.libs/libnetcdf.lax/libnetcdf.a/nc.o
.libs/libnetcdf.lax/libnetcdf.a/ncx.o
.libs/libnetcdf.lax/libnetcdf.a/posixio.o
.libs/libnetcdf.lax/libnetcdf.a/putget.o
.libs/libnetcdf.lax/libnetcdf.a/string.o
.libs/libnetcdf.lax/libnetcdf.a/utf8proc.o
.libs/libnetcdf.lax/libnetcdf.a/v1hpg.o
.libs/libnetcdf.lax/libnetcdf.a/v2i.o
.libs/libnetcdf.lax/libnetcdf.a/var.o
.libs/libnetcdf.lax/libnetcdf2.a/v2i.o -L/opt/local/lib
/opt/local/lib/libcurl.dylib -lz -L/Users/jsw/lib -install_name
/Users/jsw/lib/libnetcdf.6.dylib -compatibility_version 7
-current_version 7.0 -Wl,-single_module
ld: duplicate symbol _dapdebug in
.libs/libnetcdf.lax/libnetcdf.a/liboc_la-daptab.o and
.libs/libnetcdf.lax/libnetcdf.a/libnetcdf_la-dapdebug.o
collect2: ld returned 1 exit status
make[2]: *** [libnetcdf.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-Jeff