|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71288 failed to load
Submitted: 2016-01-05 15:46 UTC Modified: 2016-01-05 16:03 UTC
From: 191919 at gmail dot com Assigned:
Status: Closed Package: opcache
PHP Version: master-Git-2016-01-05 (Git) OS: OS X
Private report: No CVE-ID: None
 [2016-01-05 15:46 UTC] 191919 at gmail dot com
------------ failed to load in git under OS X El Capitan 10.11.2.

I built it with Xcode 7.2 with `./configure --prefix=/opt/php7`. The build process was done without problems. I added

to /opt/php7/lib/

When running php -v:

$ /opt/php7/bin/php -v                                                              
Failed loading /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/  dlopen(/opt/php7/lib/php/extensions/no-debug-non-zts-20151012/, 9): Symbol not found: _zend_func_info_rid
  Referenced from: /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/
  Expected in: flat namespace
 in /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/
PHP 7.1.0-dev (cli) (built: Jan  5 2016 23:30:07) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies

I ran dyldinfo against

./dyldinfo -bind /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/         
bind information:
segment section          address        type    addend dylib            symbol
__DATA  __const          0x0002F990    pointer      0 flat-namespace   _OnUpdateBool
__DATA  __got            0x0002F0A8    pointer      0 flat-namespace   _zend_func_info_rid

Expected result:
opcache loads.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-05 16:03 UTC] 191919 at gmail dot com
-Status: Open +Status: Closed
 [2016-01-05 16:03 UTC] 191919 at gmail dot com
Don't know why: the problem was consistent until I deleted /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/ then reran make install, but the md5 hashes of two's were the same.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 11:01:29 2024 UTC