php 5.9.2 curl 7.19.4 Incompatible library version

Helgi Hrafn Halldórsson helgih at gmail.com
Fri May 22 13:02:06 PDT 2009


for the /opt/local/lib/libcurl.4.dylib

$ strings /opt/local/lib/libcurl.4.dylib | grep CLIENT
CLIENT libcurl 7.19.4
CLIENT libcurl 7.19.4
CLIENT libcurl 7.19.4

$ otool -L /opt/local/lib/libcurl.4.dylib | grep curl -i
/opt/local/lib/libcurl.4.dylib:
	/opt/local/lib/libcurl.4.dylib (compatibility version 6.0.0, current  
version 6.1.0)


Which of the DYLD_* environment variables should I check ?

--
Helgi Hrafn Halldórsson
Tölvunarfræðingur B.Sc
www.helgihrafn.net
helgih at gmail.com





On 22.5.2009, at 19:56, Bryan Blackburn wrote:

> 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
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list