Hi André,

>From my experience I can tell you this partly works, but!..

You need to make sure that the glibc version is the same (or older,
glibc should be backwards compatible).
I usually compile my linux multiplatform binaries in a RH7 machine,
which creates binaries that magically seem to be working in other Linux
systems (because of the older glibc version).

Also, make sure that there are no dependencies to system libraries (as
they might not be present on the target machine). The best thing to do
to avoid this is to compile your binary in a stripped chroot (only
containing the least necessary libraries for linux to run, thus no
openssl.so and stuff like that). Now let's say that your binary depends
on openssl, then you will need to compile openssl yourself as well, and
bundle that library with the binaries that you are going to ship (or
statically link them). Later you can use LD_LIBRARY_PATH to hook them
into your compiled binary.

Anyway..maybe you're better off installing Suse and just compile it :)


On Thu, 2008-12-18 at 16:50 +0100, André Warnier wrote:
> Rainer Jung wrote:
> > On 18.12.2008 13:07, André Warnier wrote:
> >> Rainer Jung wrote:
> >>> Could you try the following patch:
> >>>
> >>> http://people.apache.org/~rjung/mod_jk-dev/patches/extension_crash.patch
> >>>
> >>> Thanks for any feedback on the patch.
> >> Many thanks for the patch, Rainer, but..
> >> I hate to admit it, but despite being in this industry for more than 30
> >> years, I have no idea how to apply a patch.
> >> Or maybe I once knew, but I have forgotten.
> >> Such things happen, you know, as one gets older.
> >> So, what were we talking about ?
> > 
> > man patch
> 
> Oh my ! I had forgotten that one too !
> 
> > 
> > (The patch commandline utility allows to apply patches, ie.f. files in a 
> > special diff like format, to existing sources. The patch format is a 
> > machine understandable description of changes needed to be applied to 
> > files).
> > 
> >> Ah, yes :
> >> I'd gladly test it, if you can post somewhere a patched and compiled
> >> mod_jk.so 1.2.27 for me to download.
> > 
> > You can get the patched sources at:
> > 
> > http://people.apache.org/~rjung/mod_jk-dev/
> > 
> > but not the binaries ;)
> > 
> Oh well, I'll have to ask the guy who compiled the original from source, 
> if he can deal with this too.
> ;-)
> 
> Just one more question : assuming (just assuming) that I would like to 
> have a try myself, just for memory's sake, but I don't have the exact 
> customer system.  (I have a Debian Linux  2.6.18 32-bit system)
> Does that work, and can I use the result on the customer's Suse Linux 
> system ?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-- 
Pieter Temmerman
email: ptemmerman....@sadiel.es
skype: ptemmerman.sadiel

SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to