[KLUG Members] Four machines, two different types of OSes and GCC, one NFS drive.

Buist Justin members@kalamazoolinux.org
Mon, 22 Jul 2002 10:59:09 -0400


Recompile the code in question so it's all statically linked perhaps?  If you don't you'll probably have to jockey the C++ libraries around and modify LD_LIBRARY_PATH for apache to get it looking at the proper C++ libraries for your code to run.

Then again, if there's anything else in the Apache process space that touches the C++ libs they'll probably get freaked out when a version they weren't compiled against are being used.

Justin Buist


> -----Original Message-----
> From: Adam Bultman [mailto:adamb@glaven.org]
> Sent: Monday, July 22, 2002 10:46 AM
> To: members@kalamazoolinux.org
> Subject: [KLUG Members] Four machines, two different types of OSes and
> GCC, one NFS drive.
> 
> 
> Okay, fellas, I've got a noodle-scratcher for you all.
> 
> 
> I've got four machines.
> 
> 1 & 2:  Turbolinux Server v4.  (Yes, I use TL. And yes, I posted on /.
> about how I DO still use it)  gcc --version = egcs-2.91.60
> 
> 3 & 4:  Turbolinux 6.  gcc 2.95.2.
> 
> I've got compiled executables  on an NFS mounted drive, that 
> has compiled
> C++ executables hosted therein.
> 
> Issue:
> Currently, my first two boxes are clustered together, and the 
> second two
> are clustered together.  What I need to do is to cluster them sort of
> together all at once again. Doing this will require me to 
> re-compile all
> programs again for the second half while retaining their 
> ability to run on
> the first two. So far, programs compile on boxen 1 and 2 will 
> NOT run on
> boxen 3 and 4. This is an issue. I can't really re-compile 
> GCC or anything
> like that because the boxes are rather touchy.  So, any ideas? Can I
> somehow trick these machines into running specific executables? These
> programs are executed from PHP code, so I could possibly 
> build in a check
> for this, if necessary, but I'd rather have things be very 
> transparent.
> 
> Ideas?
> 
> 
> -- 
> Adam Bultman
> adam@glaven.org
> [ http://www.glaven.org ]
> 
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 
>