1. I did the following to build mono on my RHEL45 system into its own directory -
./configure --prefix=/usr/mono --with-libgdiplus=installed --enable-minimal=com,simd --with-moonlight=no make make install 2. I can run "/usr/mono/bin/mono --version" just fine but running a simple command line pgm I get the following error and there was no /usr/mono/lib/mono/4.0 directory that was created - -bash-3.00$ /usr/mono/bin/mono isReorg.exe The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the `/usr/mono/lib/mono/4.0/mscorlib.dll' directory. 3. Here is the tail of my make output - it does seem to have an error for mscorlib.dll - make all-local make[8]: Entering directory `/usr/mono/mono-2.8/mcs/class/System.XML' make[8]: Nothing to be done for `all-local'. make[8]: Leaving directory `/usr/mono/mono-2.8/mcs/class/System.XML' make[7]: Leaving directory `/usr/mono/mono-2.8/mcs/class/System.XML' make[7]: Entering directory `/usr/mono/mono-2.8/mcs/class/aot-compiler' Makefile:15: Extraneous text after `else' directive make all-local make[8]: Entering directory `/usr/mono/mono-2.8/mcs/class/aot-compiler' Makefile:15: Extraneous text after `else' directive AOT [net_2_0] mscorlib.dll.so /bin/sh: line 1: 15513 Aborted (core dumped) MONO_PATH='./../../class/lib/net_2_0/' /usr/mono/mono-2.8/runtime/mono-wrapper --aot=bind-to-runtime-version --debug ./../../class/lib/net_2_0//mscorlib.dll >net_2_0_aot.log 2>&1 make[8]: *** [../../class/lib/net_2_0//mscorlib.dll.so] Error 134 make[8]: Leaving directory `/usr/mono/mono-2.8/mcs/class/aot-compiler' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/usr/mono/mono-2.8/mcs/class/aot-compiler' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/usr/mono/mono-2.8/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/usr/mono/mono-2.8/mcs' make[4]: *** [profile-do--net_2_0--all] Error 2 make[4]: Leaving directory `/usr/mono/mono-2.8/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/usr/mono/mono-2.8/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/usr/mono/mono-2.8/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/mono/mono-2.8' make: *** [all] Error 2 4. I have uploaded the output of the configure, make and make install - http://mono.1490590.n4.nabble.com/file/n3165401/configure.txt configure.txt http://mono.1490590.n4.nabble.com/file/n3165401/make.txt make.txt http://mono.1490590.n4.nabble.com/file/n3165401/make_install.txt make_install.txt 5. There are only 2.0 and gac libs under the /usr/mono/lib/mono directory. I have no need for GUI or system.drawing and did not and cannot build the libgdiplus library as I do not have the prereqs and cannot put them on. I had done an earlier build into just /usr and did copy mscorlib.dll (I forget where from/to) and this program was working earlier. There is an mscorlib.dll in the 2.0 dir but my pgm is built for .NET 4.0 version. Thanks for any suggestions, Dave Thanks, Dave -- View this message in context: http://mono.1490590.n4.nabble.com/The-assembly-mscorlib-dll-was-not-found-or-could-not-be-loaded-tp3165401p3165401.html Sent from the Mono - Dev mailing list archive at Nabble.com. _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
