Received: by taz.hyperreal.com (8.8.4/V2.0) id CAA24263; Fri, 24 Jan 1997 02:57:31 -0800 (PST) Received: from dicsmss1.jrc.it by taz.hyperreal.com (8.8.4/V2.0) with SMTP id CAA24257; Fri, 24 Jan 1997 02:57:26 -0800 (PST) Received: from jrc.it (elect6.jrc.it) by dicsmss1.jrc.it (4.1/EB-950131-C) id AA20463; Fri, 24 Jan 97 12:03:10 +0100 Received: by jrc.it (5.x/EB-950213-L) id AA16336; Fri, 24 Jan 1997 11:56:50 +0100 Date: Fri, 24 Jan 1997 11:56:50 +0100 From: "Dirk.vanGulik" Message-Id: <9701241056.AA16336@ jrc.it> To: new-httpd@hyperreal.com Subject: Re: how about a mod_dld w/ libdl? X-Sun-Charset: US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com I had a big go at this; making it also support the very common dldopen(). You might want to have a look at it, see attached diff. It does 1. add a load/delete of complete chunks of code 2. enable/disable of modules But it is not that perfect jet :-) The trouble was that I had to move away from the fixed array into a pointer structure; see the diff on the core code. Dw. > I just noticed mod_dld only uses the GNU libdld, which only support a.out > format binaries. I'm running a 100% ELF system here so it bombs when > I link with libdld... > > I've heard someone made an ELF version of libdld, but its supposed to > be much less efficient than libdl... > > I guess from what I've read that libdl is only supported on solaris > and linux, and possibly a few other variant systems, but since > linux is so widely used these days someone might want to write > support for libdl into Apache. > > If noone else has one, or noone wants to do it, I'll do it and > send in patches. > > Jason S. Clary >