Thanks Jeff for your suggestions: I finally was able to nail down the
problem -- but I still need to get it to work. The LoadModule directive was
failing because of a simple (and the most common of all) C problem.
In dso.c in line 137, function apr_dso_sym, the statement was worded:
if (status = -1)
return APR_EINIT;
whereas it should have been:
if (status == -1)
return APR_EINIT;
Ofcourse, (status = -1) was always true, and although the shl_findsym was
successful, apr_dso_sym always returned the APR_EINIT error. Could we have
this fix go into the source tree? Or if I am allowed to make this change in
the CVS tree, I could do it -- what should I do?
Thanks,
M
> -----Original Message-----
> From: Jeff Trawick [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 4:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: DSO for httpd2.0
>
>
> "GUMMALAM,MOHAN (HP-PaloAlto,ex1)" <[EMAIL PROTECTED]> writes:
>
> > Hello: Looks like DSO is not working quite well on HP-UX
> 11.0. After "make
> > install" is complete, when I run "/opt/apache2/bin/apachectl start",
> > I get:
>
> When I got to this point a couple of months ago I figured that my next
> step would be to compare the compile/link options used with the apache
> 1.3 build with those used with the apache 2.0 build and see if that
> was part of the problem. Alas, I have not found the time.
>
> To see flags added by libtool you need to disable the libtool option
> "--silent" which is specified in (at least)
>
> ./srclib/apr/build/rules.mk:LTFLAGS = --silent
> ./srclib/apr-util/build/rules.mk:LTFLAGS = --silent
> ./config_vars.mk:LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
> ./config_vars.mk:SH_LIBTOOL = $(SHELL)
> $(top_builddir)/shlibtool --silent
>
> (all filenames relative to httpd-2.0)
>
> That is the only idea I have...
>
> (well, there is one stupid idea... see if the .so files are marked
> executable... we got a bug report recently against 1.3 stating that
> we had an HP binary build where the .so files weren't executable and
> wouldn't load... I haven't re-done a 2.0 dso build to look at the
> permissions on the .so files...)
> --
> Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
> http://www.geocities.com/SiliconValley/Park/9289/
> Born in Roswell... married an alien...
>