Hi

I tried to use macruby_deploy to embed my macruby based mac app with gems 
(/usr/local/bin/macruby_deploy --compile --embed --gem nokogiri)

The resulting app run fine on my machine. However, on many of our testers, the 
app failed with "LoadError". It seems nokogiri depends on a libiconv with 
different version. (nokogiri.bundle requires version 8.0.0 or later, but 
libiconv.2.dylib provides version 7.0.0)

We cant ask our user to install each of those library. Are there any way I can 
build the app embed the correct version of libiconv?

Logs:

dlopen(/Applications/ChineseIdiom.app/Contents/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/site_ruby/1.9.2/nokogiri/nokogiri.bundle,
 9): Library not loaded: /opt/local/lib/libiconv.2.dylib
18/05/2011 10:44:53 PM  [0x0-0x157b57a].hk.ignition.mac.ChineseIdiom[1576]      
  Referenced from: 
/Applications/ChineseIdiom.app/Contents/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/site_ruby/1.9.2/nokogiri/nokogiri.bundle
18/05/2011 10:44:53 PM  [0x0-0x157b57a].hk.ignition.mac.ChineseIdiom[1576]      
  Reason: Incompatible library version: nokogiri.bundle requires version 8.0.0 
or later, but libiconv.2.dylib provides version 7.0.0 - 
/Applications/ChineseIdiom.app/Contents/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/site_ruby/1.9.2/nokogiri/nokogiri.bundle
 (LoadError)
18/05/2011 10:44:53 PM  [0x0-0x157b57a].hk.ignition.mac.ChineseIdiom[1576]      
        from /Applications/ChineseIdiom.app/Contents/Resources/rb_main.rb:20:in 
`<main>'
18/05/2011 10:44:53 PM  com.apple.launchd.peruser.501[191]      
([0x0-0x157b57a].hk.ignition.mac.ChineseIdiom[1576]) Exited with exit code: 1

Thanks

Francis Chong
Ignition Soft
http://ignition.hk
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to