The config.guess and config.sub packaged with db-4.8.30.NC.tar.gz are fairly old (2009) and fail to identify some system types i.e ppc64le. Replace them with more modern versions before configuring db4.
Fixes #16064.
tACK https://github.com/bitcoin/bitcoin/pull/16086/commits/00fade007c8c0aba82a2a8c40129ae0b6e530d33
./contrib/install_db4.sh . + ./configure + make locally.
utACK 00fade007c8c0aba82a2a8c40129ae0b6e530d33
I haven't reviewed the code, but I can confirm that 00fade007c8c0aba82a2a8c40129ae0b6e530d33 fixes #16064 for me.
Tested ACK 00fade007c8c0aba82a2a8c40129ae0b6e530d33