users@glassfish.java.net

Re: Apache LB plugin on Fedora Core 10

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Aug 2009 10:45:21 PDT

This is what it took for me to get this to work:

Install OpenSSL from source into some location such as /opt/local. Make sure that this is the static and not dynamic install and also make sure you build the 32 bit libs and not the 64bit ones (the default).

Install apache (i used 2.2.13) from source and have it ref the new OpenSSL location. This way the ssl libraries will be statically loaded and those functions will get called first.

If you build apache and have it use the sun provided openssl libraries in /usr/sfw you will get core dumps. If you compile OpenSSL with the shared option you will also more core dumps.

In general, aslb loads so many libraries that cause conflicts with so many other things that it is a royal pain in the ass. (ldap is the other main one). A truss shows that aslb only uses one or two functions out of the 22 libraries that it needs, but those libraries provide conflicting functions and you quickly end up in the unix version of dll hell.
[Message sent by forum member 'john_garner' (john_garner)]

http://forums.java.net/jive/thread.jspa?messageID=360545