I am trying to make my software available on macOS, and in my toolchain I use the ldd -r MyModel.so
command to verify that everything went well, but I can’t really find an equivalent command on macOS with the same behavior.
otool
and nm
seem to be the two directions to go, but which of their options provide the behavior of ldd -r
? Is there any other tool that can be used for this purpose?