Satoshi Nakagawa
psych****@limec*****
Wed Oct 14 18:28:41 JST 2009
Hi, I built RubyCocoa.framework on 10.6, then embed it to LimeChat. But the build of LimeChat didn't work on 10.5. In the console, dyld: Library not loaded: /usr/lib/libxml2.2.dylib Referenced from: /Users/psychs/Desktop/LimeChat.app/Contents/MacOS/../Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa Reason: Incompatible library version: RubyCocoa requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0 It seems the compatibility version of libxml2.2.dylib is too high on 10.6. $ otool -L RubyCocoa RubyCocoa: @executable_path/../Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.3.0) /usr/lib/libffi.dylib (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/libruby.1.dylib (compatibility version 1.8.0, current version 1.8.7) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) $ otool -L /usr/lib/libxml2.2.dylib /usr/lib/libxml2.2.dylib: /usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.3.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libicucore.A.dylib (compatibility version 1.0.0, current version 40.0.0) Does anyone know how to change the compatibility version in the side of RubyCocoa.framework? -- Satoshi Nakagawa