[MonoDevelop] MonoDevelop on Mac OS X (building from SVN/2.0 and the binary package)

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Apr 27 23:13:16 EDT 2009


On Mon, Apr 27, 2009 at 3:04 PM, Tiago Taveira <tiagotaveira at gmail.com> wrote:
> Hi again,
>
>> The issues is that the launch script doesn't work with the version of
>> bash in 10.5. Unfortunately I don't have a 10.4 machine to be able to
>> make and test fixes.
>
> Maybe I can try it out if you poing me in the right direction :)

I'm working on an updated version of the launch script that doesn't
use bash 3.x syntax. I'll let you know hen it's done.

>> I wonder if that's 10.4-specific too. Are you using Mono 2.4 from the
>> installer?
>>
>> You might be able to fix it by putting libglib-2.0.dylib is in the
>> LD_LIBRARY PATH, if that applies to Macs.
>
> Yes, I tried Mono 2.2 and 2.4 from the installer.
> I believe OS X uses DYLD_LIBRARY_PATH. I tried adding the path to
> libglib-2.0 (which is /opt/local/lib/) but I didn't quite work... it started
> complaining about other libraries upon starting
> (http://pastebin.com/m1db31e7b).
>
> I also tried adding the path of the libraries referenced in the errors to
> DYLD_LIBRARY_PATH but no go

Why do you have glib in /opt?

MD uses DYLD_FALLBACK_LIBRARY_PATH to set the path for the Mono
framework. If you're using DYLD_LIBRARY_PATH, you're most likely
forcing your older, incompatible glib to get loaded first, thereby
breaking Mono:
  Reason: Incompatible library version: mono requires version 1801.0.0
or later, but libgthread-2.0.0.dylib provides version 1401.0.0

Try DYLD_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list