I have built HDF5 1.8.11 on Ubuntu Linux x64 12.04 using static libraries. I am now trying to compile my program against this build and I am getting the following errors:
make[1]: *** Waiting for unfinished jobs.... /home/mjackson/DREAM3D_SDK/hdf5-1.8.11/lib/libhdf5.a(H5PL.c.o): In function `H5PL_term_interface': H5PL.c:(.text+0x9d): undefined reference to `dlclose' /home/mjackson/DREAM3D_SDK/hdf5-1.8.11/lib/libhdf5.a(H5PL.c.o): In function `H5PL_load': H5PL.c:(.text+0x2a5): undefined reference to `dlsym' H5PL.c:(.text+0x38c): undefined reference to `dlopen' H5PL.c:(.text+0x3a5): undefined reference to `dlsym' H5PL.c:(.text+0x4d4): undefined reference to `dlclose' H5PL.c:(.text+0x551): undefined reference to `dlerror' H5PL.c:(.text+0x745): undefined reference to `dlclose' collect2: ld returned 1 exit status make[2]: *** [Bin/H5UtilitiesTest] Error 1 I have to admit my C++ Error Fu is not strong today and I am missing what is wrong. I don't remember having this issue on other systems where I have HDF5 built as a static library. ... 3 Minutes later on Google..... http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11875.html So just as a reminder for those affected that we may need to update our CMake/M4/Configure scripts to deal with the new features of HDF5 1.8.11 Thanks ___________________________________________________________ Mike Jackson Principal Software Engineer BlueQuartz Software Dayton, Ohio [email protected] www.bluequartz.net _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
