php 5.9.2 curl 7.19.4 Incompatible library version

Bryan Blackburn blb at macports.org
Fri May 22 12:56:12 PDT 2009


On Fri, May 22, 2009 at 08:17:43AM -0700, harabanar said:
> 
> Hi .. 
> 
> I have been trying to upgrade my php5 installation from 5.2.5 to 5.2.9 but
> every time I try to restart the apache server or I get the error 
> 
> "Reason: Incompatible library version: php requires version 6.0.0 or later,
> but libcurl.4.dylib provides version 5.0.0"
> 
> Can anyone help me?
> 
> Some informations: 
> strings /usr/lib/libcurl.4.dylib | grep CLIENT
> CLIENT libcurl 7.16.3
> CLIENT libcurl 7.16.3
> CLIENT libcurl 7.16.3
> 
> otool -L /opt/local/apache2/modules/libphp5.so | grep curl -i
>    /opt/local/lib/libcurl.4.dylib (compatibility version 6.0.0, current
> version 6.1.0)

Does the result of 'otool -L /opt/local/lib/libcurl.4.dylib' also show it to
be 6.0.0 compat, 6.1.0 current?  If so, check for any DYLD_* environment
variables being set as those could be causing it to use the wrong library.

Bryan



More information about the macports-users mailing list