[Mono-list] mkbundle and crosscompiling

Matthijs ter Woord matthijsterwoord at gmail.com
Thu Aug 25 05:59:06 EDT 2005


That's the whol problem, I only have got mono running inside VMWare locally, which is FC4. The server is running RHEL 3 AFAIK. 


  ----- Original Message ----- 
  From: Adrian Dinu 
  To: Matthijs ter Woord 
  Cc: Ben Maurer ; mono-list at ximian.com 
  Sent: Thursday, August 25, 2005 11:54 AM
  Subject: Re: [Mono-list] mkbundle and crosscompiling


  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/889724ee/attachment.html


More information about the Mono-list mailing list