[Mono-osx] mkbunde produces broken binary

jahewson johnahewson at yahoo.co.uk
Tue Sep 28 07:51:56 EDT 2010


I'm trying to get mkbundle to work on OS X 10.6.3, using Mono 2.8

To get mkbundle itself working I use the following hacks from the forum:

export
PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/"
export AS="as -arch i386"
export CC="cc -arch i386"

This works, and mkbundle produces a binary, however attempting to run the
binary gives the error:

dyld: _dyld_bind_fully_image_containing_address() error
dyld: Symbol not found: _CFLocaleCopyCurrent
  Referenced from:
/Library/Frameworks/Mono.framework/Versions/2.8/lib/libmono-2.0.1.dylib
  Expected in: dynamic lookup

Trace/BPT trap

It's taken me a several days to get mkbundle working at all... to me this is
a deal breaker for Mono adoption.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/mkbunde-produces-broken-binary-tp2717076p2717076.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list