I have a Fortran executable that statically links against a specific version of hdf5. The executable makes use of a C++ library foo that is statically linked against a different version of hdf5.
The executable refuses to link because of conflict in symbols. Is there a way to avoid this issue without making the C++ library foo dynamic?