Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26270 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12085 invoked by uid 1010); 27 Oct 2006 18:20:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12070 invoked from network); 27 Oct 2006 18:20:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2006 18:20:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=mba2000@ioplex.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mba2000@ioplex.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ioplex.com from 66.220.1.142 cause and error) X-PHP-List-Original-Sender: mba2000@ioplex.com X-Host-Fingerprint: 66.220.1.142 www.ioplex.com Linux 2.4/2.6 Received: from [66.220.1.142] ([66.220.1.142:1549] helo=www.ioplex.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/D6-05529-FDD42454 for ; Fri, 27 Oct 2006 14:20:17 -0400 Received: from quark.foo.net (c-69-142-196-170.hsd1.nj.comcast.net [69.142.196.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.ioplex.com (Postfix) with ESMTP id 3A3C142B65; Fri, 27 Oct 2006 14:20:12 -0400 (EDT) Date: Fri, 27 Oct 2006 14:20:06 -0400 To: "Brian J. France" Cc: internals@lists.php.net Message-ID: <20061027142006.42db61bf.mba2000@ioplex.com> In-Reply-To: <0CA0FB51-5A14-4D6D-96B2-98C5D7C84A41@firehawksystems.com> References: <20061027115704.5160b509.mba2000@ioplex.com> <3F51F1DD-7B25-4302-975A-2F8E276D5EC9@firehawksystems.com> <20061027130742.1cf61793.mba2000@ioplex.com> <0CA0FB51-5A14-4D6D-96B2-98C5D7C84A41@firehawksystems.com> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What version introduced RTLD_DEEPBIND? From: mba2000@ioplex.com (Michael B Allen) On Fri, 27 Oct 2006 13:39:53 -0400 "Brian J. France" wrote: > >> and I plan on removing it from our internal builds as it causes more > >> problems than I think it fixes (on RHEL only). > > > > Err, that'll break my module. > > > Unless you work at Yahoo!, this will not effect you (our internal > builds == Y!). If you do work at Y! we should take this talk onto > our internal mailing lists. Ah, phew! I didn't quite understand what you meant by "internal builds". > > My module is linked with Heimdal kerberos. I need Heimdal because it > > has proper support for SPNEGO (amnong other reasons). But if PHP or > > any other module is linked with a different Kerberos library (e.g. > > MIT) > > symbol collisions will occur resulting in all sorts of strange > > behavior. > > > Could you do the php_compat.h trick and namesapce functions and link > it statically? This is what PHP does for things like pcre and gd. Actually I failed to mention that I do link statically. To be precise the module is dynamically linked with one big statically lib containing Heimdal's libkrb5 and a half dozen other custom libs. I'm not sure what the "php_compat.h trick" is but I'll keep that in mind (e.g. FreeBSD). > > or > > > > extension.deepbind = mymodule.so > > > Ya, I think the extension.deepbind would be a good options (if I had > time to work on it). On second thought I suppose it should be: extension.nodeepbind = othermodule.so Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/