[Mono-list] mkbundle and crosscompiling
Adrian Dinu
adrian.dinu at dreamsoftware.ro
Thu Aug 25 05:54:16 EDT 2005
run /lib/libc.so.6 and you'll get your glibc version. Probably on the
hosting server there's an older version of glibc than the one on your
system. Try making your bundle on a computer that has the same glibc
version as the hosting server.
On Thu, 2005-08-25 at 11:46 +0200, Matthijs ter Woord wrote:
> 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
> >
> >
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
________________________________________________________________________
Adrian Dinu
Technical Manager
Dream Team Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20050825/275ce53a/attachment.html
More information about the Mono-list
mailing list