[Mono-list] Compile Mono with embedded glib
Bojan Rajkovic
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,
Bojan
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
> --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.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130131/9edf037a/attachment.html>
More information about the Mono-list
mailing list