install_name_tool, strip are broken in Xcode 12.2 beta3 Command Line Tools
I am getting
dyld: Library not loaded: @rpath/libcodedirectory.dylib
	Referenced from: /Library/Developer/CommandLineTools/usr/bin/install_name_tool
	Reason: image not found
and a very similar error with strip.
A workaround - creating a link, like this:
% ls -l /usr/local/lib/libcodedirectory.dylib
/usr/local/lib/libcodedirectory.dylib -> /Applications/Xcode-beta.app/Contents//Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libcodedirectory.dylib
fixes these errors.
Is this a known bug?