However, Archlinux hdf5 does not include libhdf5_cpp.so. See reason.
Therefore, you will need to download and compile hdf5 with the --enable-cxx configure flag.
Download hdf5 source package.
tar -xjf hdf5-1.8.7.tar.bz2 cd hdf5-1.8.7 ./configure --prefix=/usr/local --enable-cxx make make install
A number of other patches are also necessary when compiling with GCC 4.6.