FastCGI PHP5 on OSX 10.6

Ryan Schmidt ryandesign at macports.org
Wed Sep 29 06:56:50 PDT 2010


On Sep 29, 2010, at 08:52, Norman Khine wrote:

> i get this error, after i did:
> 
> $ sudo port -v upgrade --enforce-variants php5 +fastcgi
> 
> 
> $ php -v
> dyld: lazy symbol binding failed: Symbol not found: __mysqlnd_palloc_init_cache
>  Referenced from:
> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mysql.so
>  Expected in: flat namespace
> 
> dyld: Symbol not found: __mysqlnd_palloc_init_cache
>  Referenced from:
> /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mysql.so
>  Expected in: flat namespace
> 
> Trace/BPT trap
> 
> here is the list of outdated packages
> 
> http://pastie.org/1188948
> 
> i will run the $ sudo port upgrade outdated
> 
> or should i have done it the other way around?


Your list of outdated ports shows both mysql5 and php5-mysql need to be upgraded. Once you've upgraded them, the problem should go away.

You upgraded php5 but did not upgrade the php5 modules (e.g. php5-mysql). You need to upgrade php5 modules in sync with the version of php5.




More information about the macports-users mailing list