How to debug missing libraries on macOS?
Solution 1:
Try this:
$ otool -L /usr/bin/uptime
/usr/bin/uptime:
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.0.0)
(that's on macOS 10.11.6 but should work on newer versions)