Date: Mon, 21 Dec 1998 14:51:30 -0500 From: "Ugen Antsilevitch" <ugen@undp.org> To: John Polstra <jdp@polstra.com> Cc: hackers@FreeBSD.ORG Subject: Re: Apache with dynamic modules files miserably. Message-ID: <367EA6C2.917286BD@undp.org> References: <199812211925.LAA04664@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well...sorry for omitting that - it is 3.0 - RELEASE.
I just downloaded rtld.c from 3.0-CURRENT - that one seems to be dated Nov.27 .
I recompiled ld-elf.so.1 and installed it but Apache still fails.
Here is the error i get:
Cannot load /usr/local/apache/libexec/mod_env.so into server:
/usr/local/apache/lib
exec/mod_env.so: Undefined symbol "ap_palloc".
This can change depending on which module gets loaded first but function it
complains about is
one in the main source.
Any other advice will be appretiated...:)
--Ugen
John Polstra wrote:
> In article <367E9711.2DC74676@undp.org>,
> Ugen Antsilevitch <ugen@undp.org> wrote:
> > Well..subject says it all.
> > Both the 1.3.2 in packages and new 1.3.3 after compilation are unable to
> > use dynamic
> > loaded modules. It seems dlopen fails for any module that attempts to
> > call a function from
> > the server itself (such as pa_alloc etc.).
> > I am really not sure how this can/should be fixed...
> > Ideas?
>
> Well, it would be a lot easier if you had told us which version of
> FreeBSD you're using.
>
> If it's current/ELF, then make sure your ELF dynamic linker is newer
> than October 13. I put a bugfix into "src/libexec/rtld-elf/rtld.c"
> on that date which fixed a problem in the apache13 port.
> --
> John Polstra jdp@polstra.com
> John D. Polstra & Co., Inc. Seattle, Washington USA
> "Nobody ever went broke underestimating the taste of the American public."
> -- H. L. Mencken
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367EA6C2.917286BD>
