000.fbsd at quip.cz
Sat Nov 7 18:17:26 UTC 2009
> I'm having a very difficult time installing the php pear port.
> and pkd-add only installs pear-1.7
> Could someone either build/compile 1.9 for the postinstall packages for
> FreeBSD 6.2
> or fix the port for pear on FreeBSD 6.2?
> >portinstall devel/pear
> [Gathering depends for devel/pear
> ............................................ done]
> ---> Installing 'pear-1.9.0' from a port (devel/pear)
> ---> Building '/usr/ports/devel/pear'
> ===> Cleaning for pear-1.9.0
> ===> Extracting for pear-1.9.0
> => MD5 Checksum OK for pear-1.9.0.tar.bz2.
> => SHA256 Checksum OK for pear-1.9.0.tar.bz2.
> ===> Patching for pear-1.9.0
> ===> Applying FreeBSD patches for pear-1.9.0
> ===> Configuring for pear-1.9.0
> ---> Installing the new version via the port
> ===> Installing for pear-1.9.0
> ===> pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
> ===> pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
> ===> pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so - found
> ===> Generating temporary packing list
> ===> Checking if devel/pear already installed
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20060613/memcache.so' -
> /usr/local/lib/php/20060613/memcache.so: Undefined symbol
> "php_session_create_id" in Unknown on line 0
It seems you have problem with your current PHP installation, not only
with PEAR. Do you have memcache extension installed? If not, do you have
it listed in the /usr/local/etc/php/extensions.ini or php.ini?
Try to commented out or reinstall your PHP and extensions.
More information about the freebsd-ports