Bug #71288 [NEW]: opcache.so failed to load
| From: | 191919 at gmail dot com | Date: | Tue, 05 Jan 2016 15:46:17 +0000 |
| Subject: | Bug #71288 [NEW]: opcache.so failed to load | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-198430@lists.php.net to get a copy of this message | ||
From: 191919 at gmail dot com
Operating system: OS X
PHP version: master-Git-2016-01-05 (Git)
Package: opcache
Bug Type: Bug
Bug description:opcache.so failed to load
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 bug report at https://bugs.php.net/bug.php?id=71288&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71288&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71288&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71288&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71288&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71288&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71288&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71288&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71288&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71288&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71288&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71288&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71288&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71288&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71288&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71288&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71288&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71288&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71288&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71288&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71288&r=mysqlcfg