Please check that you use -ldl when you link your application (or use h5cc!)

We introduced dynamical loading of the HDF5 filters in HDF5 1.8.11 and this 
library is required now.

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Jun 20, 2013, at 9:40 AM, Michael Jackson wrote:

> 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

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to