logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Bug 0000258: Unresolved OnUpdateBool when trying to load XDebug extension: msg#00012

Subject: Bug 0000258: Unresolved OnUpdateBool when trying to load XDebug extension
A BUGNOTE has been added to this bug.
======================================================================
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:                     new
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-12 04:11 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?

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                       
======================================================================




<Prev in Thread] Current Thread [Next in Thread>