[Mono-list] still can't run mono on RH7.1/i386

Dietmar Maurer dietmar@ximian.com
04 Apr 2002 09:47:00 +0200


On Thu, 2002-04-04 at 01:46, Mike Carifio wrote:
> Using mono-build.sh, I get a clean cvs checkout and build, I think.
> But I still can't compile first.cs (hello, world). Suggestions? Pl.
> advise at your convenience. Thanks.
> 
> [root@penguin try]# echo $LD_LOAD_LIBRARY 
> /usr/src/mono/install/lib
> [root@penguin try]# ls $LD_LOAD_LIBRARY 
> corlib.dll  libgc.so        libmetadata.a  libmonoutils.a   System.dll
> System.Xml.dll
> libgc.a     libgc.so.1      libmono.a      libwapi.a
> System.Drawing.dll
> libgc.la    libgc.so.1.0.1  libmonodis.a   System.Data.dll
> System.Web.dll
> [root@penguin try]# /usr/src/mono/install/bin/m
> mcs        mint       mono       monodis    monograph  
> [root@penguin try]# /usr/src/mono/install/bin/mono
> /usr/src/mono/install/bin/m
> mcs        mcs.exe    mint       mono       monodis    monograph  
> [root@penguin try]# /usr/src/mono/install/bin/mono
> /usr/src/mono/install/bin/mcs.exe first.cs
> 
> (process:21928): ** ERROR **: file appdomain.c: line 293 (mono_init):
> assertion failed: (mono_defaults.asyncresult_class != 0)
> aborting...

You need to install a newer version of corlib.dll. Try 

strace -e open /usr/src/mono/install/bin/mono /usr/src/mono/install/bin/mcs.exe first.cs

to check if it opens the right corlib.dll.

- Dietmar