kimura wataru
kimur****@i*****
Wed Oct 14 23:14:00 JST 2009
Hi, I do not know change "compatibility version" of dynamic libraries, such as install_name_tool for library path. I think it's an easy way against this problem to build RubyCocoa with --sdkroot option. % uname -r 10.0.0 % ruby install.rb config --sdkroot=/Developer/SDKs/MacOSX10.5.sdk % ruby install.rb setup % otool -L framework/build/Default/RubyCocoa.framework/RubyCocoa framework/build/Default/RubyCocoa.framework/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 9.0.0, current version 9 .16.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.6) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (c ompatibility version 300.0.0, current version 677.24.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) On Wed, 14 Oct 2009 18:28:41 +0900, Satoshi Nakagawa wrote: > 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 > > Does anyone know how to change the compatibility version in the side > of RubyCocoa.framework? > > -- > Satoshi Nakagawa >