Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98408 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18914 invoked from network); 6 Mar 2017 09:50:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2017 09:50:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 74.125.82.67 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 74.125.82.67 mail-wm0-f67.google.com Received: from [74.125.82.67] ([74.125.82.67:35361] helo=mail-wm0-f67.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/09-10274-4F03DB85 for ; Mon, 06 Mar 2017 04:50:45 -0500 Received: by mail-wm0-f67.google.com with SMTP id z63so10565902wmg.2 for ; Mon, 06 Mar 2017 01:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ea/sgdKGqNCumhhNK2gh0c/mAuCIcqN65coQkysQ1kg=; b=v7dhm4xw3W/62Tu75HVtH8/SnJw+TCleaK56gnqBm/JUTciq50stknsXAP3K3aqTJm Ta1KfTcDOPIYbq32tXIjIHVNO5JtJZiofvX8sPZMGpibDHRHw0Mmy1rEqx+efU81V5vw 6Uf+d/kajX8Vr+NJn+2ejnJ/8lcrlzk2SbrAGeFimUjTBENoDrqkK5z+IoC4ozng6uHd GjxBEdo3YNEYlgbvrdRjab29SdNse5pYneBBbQ5OsMGxPtzDUzguafwK904ZSIcrMALm QdXn+4Bxt8TApfjo9y0d1MkBoY2T+XwYQ1iNWrBg81vbynYqPJQkpsnBVG7fBkYtv+V5 gEhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ea/sgdKGqNCumhhNK2gh0c/mAuCIcqN65coQkysQ1kg=; b=dwRa45VLyTSJKLbHtoQ4SwAooqIOebH7XAc4a4ko7NM4SipOBgkZ9Vd9xmpnBPxZSC pPg8lSi3D8V9pOqm2Vi6Vwp2IuycG8bnTRQYpOLtzuNBHvavm/CL8tzVlhyO/hSIbvEc bPOgpCVhKSFyGS7ORJrzvcyWFl6ARz9iNkRMhAgfYlYPGozt6rg/h1xhK9cWn+ujn7vu 3mdOI4uzzJZKWrNWpu0PaC9UBx+/lz1Ny69Ja9Fn6ZWy0RP3eAesd4qL7/RZKY5heNS6 v7Y1dKc36lfGlo48/0UONxBx6ALs1r8x2jLGkSb5sPe9c8kA4LY8w0n7nL/IOk3gnspV Hn6Q== X-Gm-Message-State: AMke39nNFwzby7VJusT2bKdhEFwpDrATDtZmLs/ynYiTw+Wyxolt3BovuoynxOyvRj5RwKIgwiY2UyxHH40/WQ== X-Received: by 10.28.69.202 with SMTP id l71mr13369053wmi.68.1488793841760; Mon, 06 Mar 2017 01:50:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.179.139 with HTTP; Mon, 6 Mar 2017 01:50:41 -0800 (PST) X-Originating-IP: [86.152.23.249] In-Reply-To: References: Date: Mon, 6 Mar 2017 09:50:41 +0000 Message-ID: To: Derick Rethans Cc: Sara Golemon , PHP internals Content-Type: multipart/alternative; boundary=001a114d1f70150acb054a0cd427 Subject: Re: [PHP-DEV] [Request for Comment] Loading dynamic libraries with cross dependencies. From: pthreads@pthreads.org (Joe Watkins) --001a114d1f70150acb054a0cd427 Content-Type: text/plain; charset=UTF-8 Morning all, FWIW, I wouldn't mind improvements in this area (apcu and the apc bc layer suffer from this). Anything from a better error message, all the way to removing the necessary load order limitation would be nice. Cheers Joe On Sat, Mar 4, 2017 at 10:23 AM, Derick Rethans wrote: > On Fri, 3 Mar 2017, Sara Golemon wrote: > > > On Fri, Mar 3, 2017 at 5:47 AM, Derick Rethans wrote: > > >> The average PHP extension is dependent only on the PHP runtime it was > > >> built for and probably one or more 3rd party libraries. However, a > > >> special class of extensions (such as PDO drivers and much of the XML > > >> family) have dependencies on other PHP extensions which may (or may > > >> not) be preset at the time they are loaded in via ini settings and/or > > >> dl(). > > > > > > See also: > > > https://derickrethans.nl/undefined-symbol.html > > > > > Exactly! The same underlying issue at work. > > > > Would I be correct in assuming there's a desire to resolve this issue? > > Or are we considering "know your dependencies and configure for them" > > to be enough? > > Getting this addressed would certainly be great. For the MongoDB > extension we've worked around it so that we can at least show a > reasonable error message though. > > cheers, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a114d1f70150acb054a0cd427--