[Mono-list] The assembly mscorlib.dll was not found

Rolf Bjarne Kvinge rolflists at ya.com
Thu Oct 1 03:43:05 EDT 2009


Hi,
 
> I'm embarrassed about the amount of hand-holding I'm needing in this.
> 
> I'm trying to install mono from svn onto my desktop machine (Ubuntu
> 9.04).  In order to bootstrap the process, I installed the apt-get
> version of mono-devel to get a working mcs.
> 
> This reports (via --version)  Mono C# compiler version 2.0.1.0
> 
> I then checked out the following repositories:
> 
> svn://anonsvn.mono-project.com/source/trunk/mono
> svn://anonsvn.mono-project.com/source/trunk/mcs
> 
> Having done this, ./autogen.sh --prefix=/usr/local and make built the
> latest version with no problem.
> 
> I then ran ldconfig (as root) and hash -r.  I now get the following:
> 
> cliff at cms:~$ type mcs
> mcs is hashed (/usr/local/bin/mcs)
> cliff at cms:~$ mcs
> The assembly mscorlib.dll was not found or could not be loaded.
> It should have been installed in the
> `/usr/local/lib/mono/1.0/mscorlib.dll' directory.
> 
> mscorlib.dll is actually in /usr/local/lib/mono/2.1 even though mono
> - --version reports Mono JIT compiler version 2.5.
> 
> What am I missing?  How do I make mcs find the right path for
> mscorlib.dll?

I think this might help you:
http://www.mono-project.com/Parallel_Mono_Environments

Rolf

> 
> Thanks,
> Cliff.
> 
> - --
> Cliff Stanford
> Might Limited                           +44 845 0045 666 (Office)
> Suite 67, Dorset House                  +44 7973 616 666 (Mobile)
> Duke Street, Chelmsford, CM1 1TB
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkrD+LEACgkQfNTx9pWyKfy5zACfWNxCLSPbieJDO1pYISgeHzXI
> PpMAn1A1qHh1ClnOwj0j7gse6f3Vl25t
> =/LPn
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list