[Mono-list] mkbundle and crosscompiling
Matthijs ter Woord
matthijsterwoord at gmail.com
Thu Aug 25 05:46:51 EDT 2005
When i run my executable on the server which doesn't have mono installed
(the ISP doesn't want to install it), i get the following message:
./a.out: /lib/libc.so.6: version `GLIBC_2.3.4' not found (required by
./a.out)
Greets,
Matthijs ter Woord
----- Original Message -----
From: "Ben Maurer" <bmaurer at ximian.com>
To: "Matthijs ter Woord" <matthijsterwoord at gmail.com>
Cc: <mono-list at ximian.com>
Sent: Thursday, August 25, 2005 4:45 AM
Subject: Re: [Mono-list] mkbundle and crosscompiling
> On Tue, 2005-08-23 at 10:08 +0200, Matthijs ter Woord wrote:
> > Is it possible to use mkbundle on a 2.6 kernel distro and compile an
> > executable which can run on a 2.4 kernel + glib combination?
>
> Compiling something on the glibc post-rh9 and running it pre-rh9 is
> risky. The version numbers for some functions changed. For example, we
> know that rh9-built mono packages will *not* run on sles8. I don't think
> there is any way around this.
>
> You *can* build on 2.4 kernels and run on 2.6. (btw, I assume you meant
> glibc not glib. glib may also have problems. Some of the newer versions
> use macros to call functions that are only added in newer versions) The
> safest path is to compile with the *oldest* distro you have and test on
> *every* distro. This was the only way we felt safe building mono on only
> one platform.
>
> -- Ben
>
>
More information about the Mono-list
mailing list