I have installed OS X Lion and I was trying to resolve error libxml2 missing for Ruby programming purpose. I tried to install latest version of Libxml2 that is libxml2-2.8.0
Because of incompatibility of this version Mac is throwing errors while opening XCode, Chrome and some other application with the error.
Dyld Error Message: Library not loaded: /usr/lib/libxml2.2.dylib Referenced from: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit Reason: no suitable image found. Did find: /usr/lib/libxml2.2.dylib: mach-o, but wrong architecture /usr/local/lib/libxml2.2.dylib: mach-o, but wrong architecture /usr/lib/libxml2.2.dylib: mach-o, but wrong architecture
What should I do ? How should I remove libxml2 2.8.0 version.?