You can just edit the apachectl script and add this:
LD_LIBRARY_PATH="/path/to/libraries"
export LD_LIBRARY_PATH

or

You can edit /etc/profile and add those two lines. Not sure how compiling
apache statically would help (maybe someone else can enlighten me).

On 11/28/06, Dave Templeton <[EMAIL PROTECTED]> wrote:

Is there any way to complie httpd statically. The rteason is I need to use
SUDO and that wipes the LD_LIBRARY_PATH variable so apache cannot find its
shared object libraries.

Reply via email to