From owner-freebsd-hackers Mon Dec 21 11:56:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13854 for freebsd-hackers-outgoing; Mon, 21 Dec 1998 11:56:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nygate.undp.org (nygate.undp.org [192.124.42.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13744 for ; Mon, 21 Dec 1998 11:56:14 -0800 (PST) (envelope-from ugen@undp.org) Received: from inet01.hq.undp.org (inet01.hq.undp.org [192.124.42.9]) by nygate.undp.org (8.9.1/8.9.1/1.13) with ESMTP id OAA09137 for ; Mon, 21 Dec 1998 14:56:04 -0500 (EST) Received: from undp.org ([165.65.2.224]) by inet01.hq.undp.org (Netscape Messaging Server 3.6) with ESMTP id AAA1789; Mon, 21 Dec 1998 14:52:25 -0500 Message-ID: <367EA6C2.917286BD@undp.org> Date: Mon, 21 Dec 1998 14:51:30 -0500 From: "Ugen Antsilevitch" X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: John Polstra CC: hackers@FreeBSD.ORG Subject: Re: Apache with dynamic modules files miserably. References: <199812211925.LAA04664@vashon.polstra.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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