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

Adam Williams members@kalamazoolinux.org
Mon, 22 Jul 2002 10:21:11 -0400 (EDT)


>Recompile the code in question so it's all statically linked perhaps?

If you invoke these repeteadly static linking will kill your performance
and scalability.

>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.

If the approriate versions of the libraries are installed in /lib;/usr/lib
your process should find them

>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.

You can merrilly install multiple versions of the same library on the same
machine.  If compiled correctly ld will be able to figure it all out.

Thats is my libraries have names ending in things like .0.1 and .0.2,
etc...  I'll bet you have both /usr/lib/libform.so.4 and
/usr/lib/libform.so.5.  And even though /usr/lib/libform.so is a symlink
to /usr/lib/libform.so.5 ncurses v4 based apps just chug along.  Lets see
Mr. Gate's OS handle that!