From: Agrapha on
Thanks for your help Miroslav,
In fact a portupgrade did this to me. I'll try rebuilding the extensions. The last time I tried to re-build the extensions was after the upgrade which was the cause of the broken pear module in the first place.

ok new updated ports tree (just this morning)
rebuilt php5-extensions
tried devel/pear
segmentation fault Signal 11

next rebuilt lang/php5 no errors
then ran pkgdb -F

pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 326 packages found (-1 +1) (...). done]
Stale dependency: horde-base-3.3.5 -> pear-1.8.1 (devel/pear):
pear-XML_Util-1.2.1 (score:25%) ? ([y]es/[n]o/[a]ll) [no]
Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
[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 - found
===> 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

Bootstrapping Installer...................
Using previously install ... ok

Extracting installer..................
Using previously installed installer ... ok

Preparing installer..................
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..................
Package: PEAR-stable.............................. already installed ... ok
Package: Structures_Graph-stable.................. already installed ... ok
Package: Archive_Tar-stable....................... already installed ... ok
Package: Console_Getopt-stable.................... already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20091111-62353-qgctxi-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear (install error)
Command failed [exit code 1]: /usr/local/sbin/portinstall devel/pear
>

I need some suggestions on how to untangle this mess.
both php5-extensions and php5 builds without errors


/usr/local/lib/php/20060613/memcache.so: Undefined symbol
> "php_session_create_id" in Unknown on line 0


Miroslav Lachman wrote:
[...]

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.

Miroslav Lachman

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"