[xdebug-dev] Bug 0000258: Unresolved OnUpdateBool when trying to load XDebug extension

From: <noreply[@]lists.xdebug.org>
Date: Sun, 27 May 2007 23:26:59 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000258
======================================================================
Reporter: pickles
Handler:
======================================================================
Project: Xdebug
Bug ID: 258
Category: Installation
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Operating System: Solaris 9: 5.9 Generic_118558-11 sun4u sparc SUNW,UltraAX-i2
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc3
======================================================================
Date Submitted: 2007-04-24 18:11 CEST
Last Modified: 2007-05-27 23:26 CEST
======================================================================
Summary: Unresolved OnUpdateBool when trying to load XDebug extension
Description:
I've spent several hours trying to resolve this before posting it as a bug.
 I appreciate it when folks offer something to the open-source community
and try to show that appreciation by being constructive. In the end if
there is a quick solution and not a bug, maybe this will help other
googler's out.

See Machine/PHP/XDebug configuration under "Additional Information".

After compliling & installing XDebug and adding the extension directive to
php.ini I encounter the following errors:

Failed loading /usr/local/lib/php/20060613/xdebug.so: ld.so.1: php:
fatal: relocation error: file /usr/local/lib/php/20060613/xdebug.so:
symbol OnUpdateBool: referenced symbol not found
Failed loading /usr/local/lib/php/20060613/xdebug.so: ld.so.1: php:
fatal: relocation error: file /usr/local/lib/php/20060613/xdebug.so:
symbol OnUpdateBool: referenced symbol not found
PHP 5.2.0 (cli) (built: Apr 23 2007 19:58:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies

The "closest" thing to this I could find on Google was problems with folks
having "-enable-versioning" on when they compiled php. This setting is
incompatible with a lot of extensions. I built PHP 5.2.0 from source and
did not use this setting. Just to make sure I rebuilt php with
disable-versioning.

I've also double checked to make sure that XDebug configure and make are
using the "proper" php headers.
======================================================================

----------------------------------------------------------------------
 sniper - 2007-05-09 16:04 CEST
----------------------------------------------------------------------
Try using PHP 5.2.2 and latest CVS checkout of xdebug.
I can't reproduce this..as a side-note: check the configure options
available in php configure with './configure --help'. There are couple
that don't even exist anymore that you are using. :D

Also, you don't need these: '--disable-debug' '--disable-versioning'
Those are off by default.

I think you have either stale xdebug.so or php headers around in your
system.
Otherwise I can't see why this would happen.

----------------------------------------------------------------------
 sniper - 2007-05-12 04:11 CEST
----------------------------------------------------------------------
Can you reproduce this in some other machine?

----------------------------------------------------------------------
 derick - 2007-05-22 22:34 CEST
----------------------------------------------------------------------
Reminder sent to pickles

Please provide the requested feedback.

----------------------------------------------------------------------
 pickles - 2007-05-27 17:27 CEST
----------------------------------------------------------------------
Please forgive me for taking so long to reply. I was out of town for
awhile. When I upgraded to the latest PHP5 version I didn't have any
problems.

----------------------------------------------------------------------
 derick - 2007-05-27 23:26 CEST
----------------------------------------------------------------------
Great, let's close the bug then.

Bug History
Date Modified Username Field Change
======================================================================
2007-04-24 18:11pickles New Bug
2007-04-24 18:11pickles Bug Monitored: pickles
2007-05-09 16:04sniper Bugnote Added: 0000607
2007-05-12 04:11sniper Bugnote Added: 0000611
2007-05-12 04:11sniper Status new => feedback
2007-05-22 22:34derick Bugnote Added: 0000624
2007-05-27 17:27pickles Bugnote Added: 0000632
2007-05-27 23:26derick Bugnote Added: 0000633
2007-05-27 23:26derick Status feedback => closed
======================================================================
Received on Sun May 27 2007 - 23:27:01 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST