To determine which shared libraries are required, you'll need to look at the NEEDED section. For DLLs, see Optimizing all libraries in your image. For the most common cases, use the following:
Finally, you can use the Korn shell, and include DL_DEBUG=libs in your command line to print the list of libraries and DLLs being loaded at program startup. If you don't have a library that's being opened or resolved, you'll receive an error message. For more information about the values for DL_DEBUG, see the entry for dlopen in the Neutrino Library Reference.