Obtaining the HDF Software

Latest Official Release of HDF: 4.2.5

The latest formal release of HDF4 can be obtained from this page. HDF4 requires the ZLIB and JPEG external libraries. The pre-compiled binaries below are built with these as well as the SZIP library, but they do not include these libraries.

External Libraries Used By HDF4

The ZLIB and JPEG 6b external libraries are REQUIRED by HDF, but are not part of HDF. The SZIP library is optional. However, the pre-built binaries are built with SZIP, so if using them, you must also include the SZIP library.

External Libraries

SZIP Compression Information Source [ 2.1 ] Pre-Compiled Binaries [ 2.0 ] [ 2.1 (Windows, Mac Intel) ]
ZLIB Compression Information    
JPEG Compression   Source [ 6b ] Pre-Compiled Binaries

- The SZIP configuration changed in version 2.1, but this did not affect the built SZIP 2.0 binaries.
- HDF4 was built and tested with JPEG 6b. The HDF4 tests FAIL with later versions of JPEG.

HDF4 Software

The pre-compiled binaries listed in the table below are built with and therefore require the SZIP, ZLIB, and JPEG libraries, external to HDF.

PLEASE take note of the compilers used to build the pre-compiled binaries below. If your compiler or compiler versions are different than those shown, then you may need to build HDF from source.

HDF 4.2.5 Software

Source Code
Binary Distribution *
Binary Utilities (only)
ALL Platforms hdf-4.2.5.tar.gz
FreeBSD 6.3-STABLE amd64
Compilers: gcc, f77 3.4.6
hdf-4.2.5-freebsd-amd64.tar.gz Individual Utilities
FreeBSD 6.3-STABLE i386
Compilers: gcc, f77 3.4.6
hdf-4.2.5-freebsd.tar.gz Individual Utilities
Linux 2.6 i686 i386
Compilers: gcc, gfortran 4.1.2
hdf-4.2.5-linux.tar.gz Individual Utilities
Linux 2.6 x86_64
Compilers: gcc, gfortran 4.1.2
hdf-4.2.5-linux-x86_64.tar.gz Individual Utilities
Mac OS X 10.6
Darwin 10.2.0 (64-bit)
Compilers: gcc 4.2.1, gfortran 4.5.0
Mac OS X 10.5
Darwin 9.8.0 (32-bit)
Compilers:gcc 4.0.1, gfortran 4.4.0
Mac OS X Universal Binary
Static Utilities ONLY
hdf-4.25-macosxUB-utilities.tar.gz Individual Utilities
Solaris 10
Compilers: Sun C 5.9, Sun F95 8.3
hdf-4.2.5-solaris.tar.gz Individual Utilities
Solaris 10 64-bit
Compilers: Sun C 5.9, Sun F95 8.3
Windows (32-bit)
Compilers: VS 2008, Intel Fortran 10.1
Windows (64-bit)
Compilers: VS 2008, Intel Fortran 10.1
Windows (32-bit)
Compilers: cygwin 4.3.4

* The binary distribution includes the libraries, include files, pre-compiled binary utilities, and release notes. They were built with the SZIP, ZLIB, and JPEG libraries included.