Symbol not found: _SZ_BufftoBuffCompress

Hi,
I am maintaining an R package for using hdf5. On the recent version of MacOS that switched to LLVM from Xcode, I get the error:

Symbol not found: _SZ_BufftoBuffCompress

Link see here:

https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/hdf5r-00install.html

Issue here:

Any help much appreciated.

Thanks

_SZ_BufftoBuffCompress

is provided by libsz / libaec

you should install a package named like libaec-devel