[Mono-list] Compile Mono with embedded glib
fcharland
fcharland at ncitech.ca
Tue Jan 29 20:57:44 UTC 2013
Hi, I have a .NET application that I want to run on an embedded processor
runing Debian Linux (Power PC).
This limitted version of linux on the embedded processor does not have GLIB
installed. So I want to compile mono using the embedded GLIB (EGLIBC).
---------
$ cd mono-2.8.2
$ ./configure CFLAGS=-O2 --prefix=/usr/local --with-glib=embedded
--enable-nls=no
...
Engine:
GC: sgen and bundled Boehm GC with typed GC and parallel mark
GLIB: embedded <----- Embedded Setting taken correctly
...
$ make
$ make install
---------
Now, Mono is working fine on my Power PC computer (which has GLIB
installed). I then FTP the mono executable (~8Megs) to my embedded device
and I get the following error when I try to execute mono:
---------
dce> ./mono
./mono: /lib/libpthread.so.0: version `GLIBC_2.3.3' not found (required by
./mono)
./mono: /lib/libpthread.so.0: version `GLIBC_2.6' not found (required by
./mono)
./mono: /lib/libpthread.so.0: version `GLIBC_2.3.4' not found (required by
./mono)
./mono: /lib/libc.so.6: version `GLIBC_2.4' not found (required by ./mono)
---------
I don't understand why mono is asking me about GLIBC library when I compiled
using:
"--with-glib=embedded". Also, after the "make install" I don't find any
eglib library in the installed folder.
--
View this message in context: http://mono.1490590.n4.nabble.com/Compile-Mono-with-embedded-glib-tp4658338.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list