Building on ARM already works with pkg-config installed. The build.rs file has some fallbacks to discover the library without pkg-config hdf5-sys/build.rs#L312 . Here we could also include guesses for an arm64 system which would be /usr/lib/aarch64-linux-gnu/hdf5/serial/, /usr/lib/aarch64-linux-gnu.