I can successfully compile and install mono-1.0, but cannot run its programs. After installing, I get this: # mcs The assembly corlib.dll was not found or could not be loaded. It should have been installed in the `/usr/local/lib' directory. # I initially upgraded from mono-0.28. I then unmerged and re-merged. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge mono 2. mcs 3. Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.25-gentoo-r2) ================================================================= System uname: 2.4.25-gentoo-r2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd encode esd evo flash foomaticdb gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png python quicktime readline samba scanner sdl slang socks5 spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
1) Are you sure you don't have any rogue installs of mono you've done by hand installed in /usr/local? make sure `which mcs` shows the right thing. (/usr/bin/mcs) 2) Please try re-emerging with minimal CFLAGS (in general, if you submit a bug report with that long of a CFLAGS line, you'll tend to get ignored unless you've tried with minimal CFLAGS too.)
I did do a `which mcs` ... and it was /usr/bin/mcs ... I did have an old mono install from their cvs, but since it was telling me /usr/bin/mcs, and my install was under /usr/local I didn't think much of it. But I removed everything from the old cvs install, remerged mono-1.0, and bam! it works. Don't I feel dumb :( ... sorry
All good. glad it's working.