[Mono-dev] Error Compiling

Jon Chambers joncham at gmail.com
Tue Sep 19 08:43:08 EDT 2006


I get the following error with r65502 and newer during make install on two
different machines (64-bit Suse 10.1, and 32-bit RHEL4):

make[7]: Entering directory `/home/staff/jschambe/monosvn/mcs/class/System'
MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH"
/home/staff/jschambe/monosvn/mono/runtime/mono-wrapper
../../class/lib/net_1_1_bootstrap/gacutil.exe /i
../../class/lib/default/System.dll /f  /root
/home/staff/jschambe/monosvn/install/lib /package 1.0
Mono-INFO: Assembly Loader probing location:
'../../class/lib/net_1_1_bootstrap/mscorlib.dll'.
Mono-INFO: Image addref mscorlib 0xa12d988 ->
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll
0xa12a128: 2

Mono-INFO: AOT failed to load AOT module
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll.so:
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll.so:
cannot open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from location:
'../../class/lib/net_1_1_bootstrap/mscorlib.dll'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll.config'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mono/runtime/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Assembly mscorlib 0xa12d988 added to domain gacutil.exe,
ref_count=1

Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mono/runtime/etc/mono/config'.
Mono-INFO: Assembly Loader probing location:
'../../class/lib/net_1_1_bootstrap/gacutil.exe'.
Mono-INFO: Image addref gacutil 0xa139ed0 ->
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe
0xa126830: 3

Mono-INFO: Assembly gacutil 0xa139ed0 added to domain gacutil.exe,
ref_count=1

Mono-INFO: AOT failed to load AOT module
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe.so:
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe.so:
cannot open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from location:
'../../class/lib/net_1_1_bootstrap/gacutil.exe'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe.config'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mono/runtime/etc/mono/assemblies/gacutil/gacutil.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/gacutil/gacutil.config'.
Mono-INFO: Assembly Loader probing location:
'../../class/lib/net_1_1_bootstrap/gacutil.exe'.
Mono-INFO: AOT failed to load AOT module
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe.so:
/home/staff/jschambe/monosvn/mcs/class/lib/net_1_1_bootstrap/gacutil.exe.so:
cannot open shared object file: No such file or directory

Mono-INFO: Assembly Ref addref gacutil 0xa139ed0 -> mscorlib 0xa12d988: 2

Mono-INFO: DllImport attempting to load: 'libc'.
Mono-INFO: DllImport loading location: 'libc'.
Mono-INFO: DllImport error loading library: '/usr/lib/libc.so: invalid ELF
header'.
Mono-INFO: DllImport loading library: './libc'.
Mono-INFO: DllImport error loading library './libc.so: cannot open shared
object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libc'.
Mono-INFO: DllImport error loading library '/usr/lib/libc.so: invalid ELF
header'.

(../../class/lib/net_1_1_bootstrap/gacutil.exe:11144): Mono-WARNING **:
DllImport unable to load library '/usr/lib/libc.so: invalid ELF header'.
Mono-INFO: Assembly Loader probing location:
'../../class/lib/default/System.dll'.
Mono-INFO: Image addref System 0xa1740f8 ->
/home/staff/jschambe/monosvn/mcs/class/lib/default/System.dll 0xa1738c8: 2

Mono-INFO: Assembly System 0xa1740f8 added to domain gacutil.exe,
ref_count=1

Mono-INFO: AOT failed to load AOT module
/home/staff/jschambe/monosvn/mcs/class/lib/default/System.dll.so:
/home/staff/jschambe/monosvn/mcs/class/lib/default/System.dll.so: cannot
open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from location:
'../../class/lib/default/System.dll'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mcs/class/lib/default/System.dll.config'.
Mono-INFO: Config attempting to parse:
'/home/staff/jschambe/monosvn/mono/runtime/etc/mono/assemblies/System/System.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/System/System.config'.
Mono-INFO: DllImport attempting to load: 'libc'.
Mono-INFO: DllImport loading location: 'libc'.
Mono-INFO: DllImport error loading library: '/usr/lib/libc.so: invalid ELF
header'.
Mono-INFO: DllImport loading library: './libc'.
Mono-INFO: DllImport error loading library './libc.so: cannot open shared
object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libc'.
Mono-INFO: DllImport error loading library '/usr/lib/libc.so: invalid ELF
header'.

(../../class/lib/net_1_1_bootstrap/gacutil.exe:11144): Mono-WARNING **:
DllImport unable to load library '/usr/lib/libc.so: invalid ELF header'.

Unhandled Exception: System.DllNotFoundException: libc
  at (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
  at Mono.Tools.Driver.Install (Boolean check_refs, System.String name,
System.String package, System.String gacdir, System.String link_gacdir,
System.String libdir, System.String link_libdir) [0x00000]
  at Mono.Tools.Driver.Main (System.String[] args) [0x00000]
make[7]: *** [install-local] Error 1
make[7]: Leaving directory `/home/staff/jschambe/monosvn/mcs/class/System'
make[6]: *** [do-install] Error 2
make[6]: Leaving directory `/home/staff/jschambe/monosvn/mcs/class/System'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/home/staff/jschambe/monosvn/mcs/class'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/staff/jschambe/monosvn/mcs'
make[3]: *** [profile-do--default--install] Error 2
make[3]: Leaving directory `/home/staff/jschambe/monosvn/mcs'
make[2]: *** [profiles-do--install] Error 2
make[2]: Leaving directory `/home/staff/jschambe/monosvn/mcs'
make[1]: *** [install-exec] Error 2
make[1]: Leaving directory `/home/staff/jschambe/monosvn/mono/runtime'
make: *** [install-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060919/b01e3094/attachment.html 


More information about the Mono-devel-list mailing list