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

Cliff Stanford cliff at may.be
Wed Sep 30 20:32:53 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

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-----



More information about the Mono-list mailing list