[MacPorts] #20492: php5, php5-devel: php links with libldap if present
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- php links with libldap if the openldap port is installed, though no dependency is declared. This causes an error if openldap is subsequently uninstalled: {{{ $ php dyld: Library not loaded: /mp/lib/libldap-2.3.0.dylib Referenced from: /mp/bin/php Reason: image not found Trace/BPT trap }}} php should be changed to not link with unrequested libraries. See if --disable-all fixes this. Check whether php4 is affected as well. -- Ticket URL: <http://trac.macports.org/ticket/20492> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- Comment(by snc@…): We cannot specify `--with-ldap` and leave it blank either: in the case the user does not specify a path, `configure` will look for `ldap.h` and include in `/usr` and `/usr/local`. The `./configure --help` output did not reflect this properly. [http://bugs.php.net/bug.php?id=1309 This is changed in CVS now]. -- Ticket URL: <http://trac.macports.org/ticket/20492#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- Comment(by snc@…): Keep in mind that's a dinosaur ticket – really. -- Ticket URL: <http://trac.macports.org/ticket/20492#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: Replying to [ticket:20492 ryandesign@…]:
php should be changed to not link with unrequested libraries. See if --disable-all fixes this. php5 @5.3.0_2 uses --disable-all but it has not fixed this problem.
-- Ticket URL: <http://trac.macports.org/ticket/20492#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- Comment(by ryandesign@…): We are actually requesting ldap, but wanting it to come from /usr: {{{ platform macosx { configure.args-append \ --with-ldap=/usr } }}} I don't know why we do that. Presumably the fix is to ''not'' request ldap at all in the php5 port, and instead create a php5-ldap port that depends on the openldap port, thereby furthering #19091. -- Ticket URL: <http://trac.macports.org/ticket/20492#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5, php5-devel -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Has duplicate #26492. -- Ticket URL: <https://trac.macports.org/ticket/20492#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20492: php4, php5, php5-devel: php links with libldap if present -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php4, php5, php5-devel -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: ingo@… (added) * port: php5, php5-devel => php4, php5, php5-devel Comment: * r71587: php5-ldap port added * r71588: built-in ldap removed from php5 and php5-devel ports php4 is still affected -- Ticket URL: <https://trac.macports.org/ticket/20492#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts