Simply remove the not existent any longer shared-ld-sh from clean targets in all makefile. This should have been done in e663d9af2b (Stop using shared-ld wrapper script under Mac, 2021-07-06).
e663d9af2b