www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Francis <...@omnimark.com>
Subject config/2905: Apache compiled with DSO support does not start - says cannot find ./libhttpd.sl
Date Wed, 26 Aug 1998 12:11:17 GMT

>Number:         2905
>Category:       config
>Synopsis:       Apache compiled with DSO support does not start - says cannot find ./libhttpd.sl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Aug 26 05:20:00 PDT 1998
>Last-Modified:
>Originator:     aaf@omnimark.com
>Organization:
apache
>Release:        apache 1.3.1
>Environment:
HPUX 10.20 
HPUX ANSI C compiler cc
>Description:
When I compile Apache 1.3.1 with DSO support under HPUX 10.20, httpd does not 
start, complaining that it cannot find ./libhttpd.sl. When I make a symbolic link to libhttpd.so
in the libexec/ directory, Apache works. I configure Apache with --enable-rule=
SHARED_CORE --enable-shared = max --enable-module = most. Also setting the
shared library path does not seem to help.
>How-To-Repeat:
Try compiling with the same configure options and use the HPUX cc compiler.
>Fix:
I have noticed some problems in the HPUX build. For instance in http_main,
the shared library environment variable varname is set to LD_LIBRARY_PATH.
According to the ld man page, the HPUX dynamic loader uses LPATH (and according
to online searches, SHLIB_PATH). Also the HPUX loader expects shared libraries
to have the extension .sl, not .so. This is probably why it is complaining
about not being able to find libhttpd.sl (as opposed to libhttpd.sl). I changed
the extension for libhttpd in the Makefile.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message