Re: [Request for Comment] Loading dynamic libraries with cross dependencies.
| From: | Joe Watkins | Date: | Mon, 06 Mar 2017 09:50:41 +0000 |
| Subject: | Re: [Request for Comment] Loading dynamic libraries with cross dependencies. | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98408@lists.php.net to get a copy of this message | ||
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 <derick@php.net> wrote:
> On Fri, 3 Mar 2017, Sara Golemon wrote:
>
> > On Fri, Mar 3, 2017 at 5:47 AM, Derick Rethans <derick@php.net> 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
>
>