[MacPorts] #20492: php5, php5-devel: php links with libldap if present

MacPorts noreply at macports.org
Thu Jul 30 17:30:17 PDT 2009


#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


More information about the macports-tickets mailing list