2011年8月2日 星期二

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/memcache.so'

140# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/memcache.so' - /usr/local/lib/php/20090626/memcache.so: Undefined symbol "php_session_create_id" in Unknown on line 0
PHP 5.3.6 with Suhosin-Patch (cli) (built: Aug 2 2011 10:06:18)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

"autoconf: required version 2.68 not found" error when trying to make php5 from FreeBSD's ports

FreeBSD 8.1

在安裝 php5-extension 一直出現這個訊息

"autoconf: required version 2.68 not found" error when trying to make php5 from FreeBSD's ports....


用pkg_info | grep autoconf

明明就有安裝但老是說找不到~~

因此google 查了一下解決方式


解法

"autoconf: required version 2.68 not found" error when trying to make php5 from FreeBSD's ports
Description
When trying to make php5 (or php5-extensions or one of the other php5-* ports), you get the following error:
autoconf: required version 2.68 not found
*** Error code 1

Solution
Use the following commands to resolve the issue:
cd /usr/ports/devel/autoconf-wrapper && make clean && make deinstall && make reinstall




from http://www.nonstop.co.il/kb/view.php?kb=54