|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57541 build fails dynamic linking on Mac OS X
Submitted: 2007-02-21 20:35 UTC Modified: 2007-02-22 06:04 UTC
From: clay at killersoft dot com Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.2.1 OS: Mac OS X
Private report: No CVE-ID: None
 [2007-02-21 20:35 UTC] clay at killersoft dot com
Attempting to set HttpResponse::setCache(true); or setGzip(true); results in a PHP crash on Mac OS X.

Reproduce code:
$xmlstr = '<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "">
   <allow-access-from domain="*"/>


Expected result:
The contents of $xmlstr in the body, and an eTag header in the response.

Actual result:
clay$ curl -i http://dev/crossdomain.php
dyld: lazy symbol binding failed: Symbol not found: _zend_update_static_property__Bool
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/
  Expected in: flat namespace

dyld: Symbol not found: _zend_update_static_property__Bool
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/
  Expected in: flat namespace

HTTP/1.1 500 Internal Server Error
Set-Cookie: TRACKID=1d57735d4fc20f39db94fb0d8c5bc22f; Path=/; Version=1
Content-Type: text/html
Content-Length: 369
Date: Thu, 22 Feb 2007 01:28:53 GMT
Server: lighttpd/1.4.13

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
  <title>500 - Internal Server Error</title>
  <h1>500 - Internal Server Error</h1>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-22 03:54 UTC]
I assume this happens with any prioir version too.

Placing '#undef bool' in php_http_std_defs.h should fix this until I really stripped all those macros out.

 [2007-02-22 06:04 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 00:01:33 2024 UTC