openembedded/meta-openembedded

hdf5 missing cpp library

Opened this issue · 0 comments

Hello,

I don't remember exactly what was the error message as I'm starting to forget about this problem that I encountered a few weeks ago so I thought the best would be to just write this message so that its trace is kept. There is a small problem with the hdf5 library since version 1.14.0.

Indeed, the library doesn't automatically build the _cpp.so library file (I don't remember exactly the name) anymore. I checked and it's indeed in the release text of hdf5:

https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.0/src/hdf5-1.14.0-RELEASE.txt

Details:
Screenshot from 2024-04-25 17-05-58

It turns out I wrote a recipe that needed hdf5 but it kept crashing because it was actually looking for that file.

I found a very easy getaround: Just add "-DHDF5_BUILD_CPP_LIB=ON " to the EXTRA_OECMAKE variable in the hdf5 recipe!

Let me know if you need more details,

Kind Regards