[Mono-list] Compile Mono with embedded glib
brajkovic at coderinserepeat.com
Thu Jan 31 15:55:32 UTC 2013
GLIBC is not eglib. eglib is a replacement for glib (
http://developer.gnome.org/glib/), not GNU libc, which is what GLIBC refers
to. You'll need to make sure the versions of GNU libc match between your
two machines. You aren't seeing an eglib anywhere in the `make
install`output directory because it's statically linked into Mono.
Hope that helps,
On Tue, Jan 29, 2013 at 3:57 PM, fcharland <fcharland at ncitech.ca> wrote:
> 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
> 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: /lib/libpthread.so.0: version `GLIBC_2.6' not found (required by
> ./mono: /lib/libpthread.so.0: version `GLIBC_2.3.4' not found (required by
> ./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
> "--with-glib=embedded". Also, after the "make install" I don't find any
> eglib library in the installed folder.
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list