php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57899 Symbol not found: _OnUpdateBool
Submitted: 2007-11-04 08:34 UTC Modified: 2009-04-05 23:26 UTC
From: rasmus at spotify dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.1 OS: Apple Mac OS X 10.5.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
12 + 29 = ?
Subscribe to this entry?

 
 [2007-11-04 08:34 UTC] rasmus at spotify dot com
Description:
------------
Built on the standard php-installation in OS X 10.5.
Other extensions succeed in loading.

Running in CLI-mode, I get this:

----
Process:         php [8147]
Path:            /usr/bin/php
Identifier:      php
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [3931]

Date/Time:       2007-11-04 14:14:16.723 +0100
OS Version:      Mac OS X 10.5 (9A581)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _OnUpdateBool
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so
  Expected in: flat namespace
----

Running in mod_php on Apache 2.2, I get this in the apache error log: (everything is the original package preinstalled on Mac OS X)

----
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - (null) in Unknown on line 0
----

And some info following in syslog:
----
Nov  4 14:24:34 rasmusimw kernel[0]: IOMemoryDescriptor: attempt to create 32b virtual in 64b task, use ::withAddressRange()
Nov  4 14:30:22 rasmusimw kernel[0]: Backtrace 0x426b0b 0x4269fb 0x426446 0xb8fb2a 0xb91ea1 0xb925c3 0xb93129
----

php.ini vs dist changes:
+ extension_dir = /usr/lib/php/extensions/no-debug-non-zts-20060613/
...
+ [APC]
+ extension=apc.so
+ apc.enabled=1
+ apc.shm_segments=1
+ apc.shm_size=32
+ apc.ttl=7200
+ apc.user_ttl=7200
+ apc.include_once_override=1
+ apc.enable_cli=1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-04 08:44 UTC] rasmus at spotify dot com
Found this:
http://pecl.php.net/bugs/bug.php?id=10394&edit=1
Seems to be the same problem.

I leave it to you guys to close/duplicate this ticket.
 [2007-11-04 08:51 UTC] rasmus at spotify dot com
The version of PHP headers installed in Mac OS X is:
$Id: php.h,v 1.221.2.4.2.7 2007/01/01 09:36:11 sebastian Exp $
The version compiled (both mod_php and php-cli):
PHP 5.2.4, PHP API 20041225, PHP Extension 20060613, Zend Extension 220060519, Zend Engine v2.2.0

This does not seem to be the headers-out-of-sync problem.
 [2009-03-02 15:18 UTC] shire@php.net
Can you post the output of:

nm `which php` | grep OnUpdateBool

file `which php`

file `php-config --extension-dir`/apc.so
 [2009-04-05 23:26 UTC] shire@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2009-08-15 12:37 UTC] Einar_Bidne at hotmail dot com
i dont get sptify to work on my computer.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC