Bug #71288 [Opn->Csd]: opcache.so failed to load
| From: | 191919 at gmail dot com | Date: | Tue, 05 Jan 2016 16:03:32 +0000 |
| Subject: | Bug #71288 [Opn->Csd]: opcache.so failed to load | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-198431@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71288&edit=1
ID: 71288
User updated by: 191919 at gmail dot com
Reported by: 191919 at gmail dot com
Summary: opcache.so failed to load
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
Operating System: OS X
PHP Version: master-Git-2016-01-05 (Git)
Block user comment: N
Private report: N
New Comment:
Don't know why: the problem was consistent until I deleted
/opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so then reran make install, but the
md5 hashes of two opcache.so's were the same.
Previous Comments:
------------------------------------------------------------------------
[2016-01-05 15:46:15] 191919 at gmail dot com
Description:
------------
opcache.so 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
zend_extension=opcache.so
to /opt/php7/lib/php.in.
When running php -v:
$ /opt/php7/bin/php -v
Failed loading /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so:
dlopen(/opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so, 9): Symbol not found:
_zend_func_info_rid
Referenced from: /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
in /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
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 opcache.so:
./dyldinfo -bind /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71288&edit=1