b7e0488
diff -up netcdf-4.1.1/libsrc4/Makefile.in.hdf5 netcdf-4.1.1/libsrc4/Makefile.in
b7e0488
--- netcdf-4.1.1/libsrc4/Makefile.in.hdf5	2010-04-19 09:44:45.333650779 -0600
b7e0488
+++ netcdf-4.1.1/libsrc4/Makefile.in	2010-04-19 09:44:45.338649501 -0600
b7e0488
@@ -886,7 +886,7 @@ clean-libLTLIBRARIES:
b7e0488
 	  rm -f "$${dir}/so_locations"; \
b7e0488
 	done
b7e0488
 libnetcdf.la: $(libnetcdf_la_OBJECTS) $(libnetcdf_la_DEPENDENCIES) 
a1f8e12
-	$(libnetcdf_la_LINK) -rpath $(libdir) $(libnetcdf_la_OBJECTS) $(libnetcdf_la_LIBADD) $(LIBS)
a1f8e12
+	$(libnetcdf_la_LINK) -rpath $(libdir) $(libnetcdf_la_OBJECTS) $(libnetcdf_la_LIBADD) -lhdf5_hl -lhdf5 $(LIBS)
b7e0488
 
b7e0488
 clean-checkPROGRAMS:
b7e0488
 	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \