Long version:

I mistakenly deleted usr/lib/libxml2.2.dylib and now the computer will no longer start (it just stays in startup mode indefinitely). Would the solution be to reinstall the operating system? The computer came with Snow Leopard and have since upgraded to Mountain Lion. If I reinstall the Snow Leopard version (given that's the one I have a disk for) am I in danger of losing anything on the hard drive?

Short version:

I actually have the correct version of libxml2.2.dylib saved on the Desktop, so if I could get into the computer I may be able to fix the problem.

  • If on ML can't yo boot into the recovery partition?
    – mmmmmm
    Aug 26, 2013 at 13:23

1 Answer 1


If you still have the Snow Leopard Installation DVD you should be able to solve the issue by booting from DVD and then open Terminal to copy the missing file from your desktop (which will be in /Volumes/however-your-disk-is-called/Users/Dash/Desktop) back into the correct location (/Volumes/however-your-disk-is-called/usr/lib/).

  • doen't that depend on the version of libxml2 being the same on the SL CD and on the users ML - which is a gap of 2-3 years is not certain
    – mmmmmm
    Aug 26, 2013 at 13:24
  • Idea would be to copy the version you had on your desktop
    – nohillside
    Aug 26, 2013 at 13:33
  • Oops yes I misread your answer
    – mmmmmm
    Aug 26, 2013 at 14:11
  • Anyway, thanks for the comment, it got me to edit the answer to make it more clear.
    – nohillside
    Aug 26, 2013 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .