1. A method for deterministically resolving cycles in a library tree to enable safe library initialization, the method comprising: with a processor: identifying the cycles in the library tree; identifying a soft link in each identified cycle; and breaking the soft link in each identified cycle.