[Gtk-sharp-list] Installing on OS X

Chris Ridd chris.ridd@isode.com
Sat, 19 Jun 2004 05:52:22 +0100


On 18/6/04 11:59 pm, Matt Spong <mspong@gmail.com> wrote:

> Hi Chris,
> 
>> The workaround for me was to set the DYLD_LIBRARY_PATH environment variable
>> to point to the directory containing libgtk-x11-2.0.0.dylib (dylibs are
>> native shared libraries), and then run the program.
> 
> Ok, I tried that, and now I'm getting this error:
> 
> dyld: mono version mismatch for library:
> /sw/lib/libgthread-2.0.0.dylib (compatibility version of user: 401.0.0
> greater than library's version: 201.0.0)
> Trace/BPT trap

Rats.

The /sw prefix is used by Fink. I don't know who built the OS X beta
package, but as that installs into /opt/local which is where Darwinports
installs things by default, I'd guess the package came from a Darwinports
user.

Mixing bits of Fink with bits of Darwinports is not a good idea. Have you
any idea why something's looking in /sw when you're trying to run mono
stuff? (Check your environment variables.) Do you have an
/opt/local/lib/libgthread*?

Have you considered building mono from Fink or DP?

Cheers,

Chris