Bug #70725 [Com]: Symbol not found: _accel_move_code_to_huge_pages
Edit report at https://bugs.php.net/bug.php?id=70725&edit=1
ID: 70725
Comment by: volkanaltan+php at gmail dot com
Reported by: doub1e dot 31415 at gmail dot com
Summary: Symbol not found: _accel_move_code_to_huge_pages
Status: Duplicate
Type: Bug
Package: opcache
Operating System: MacOSX 10.10.5
PHP Version: 7.0.0RC5
Block user comment: N
Private report: N
New Comment:
I have used brew to install php 7 and opcache of extensions
My case is;
PHP 7.0.3 on Mac OS X 10.11.3, xcode 7.2.1
Test script:
---------------
<?php
echo 1;
Expected result:
----------------
1
php test-script.php
dyld: lazy symbol binding failed: Symbol not found: _zend_file_cache_script_load
Referenced from: /usr/local/opt/php70-opcache/opcache.so
Expected in: flat namespace
dyld: Symbol not found: _zend_file_cache_script_load
Referenced from: /usr/local/opt/php70-opcache/opcache.so
Expected in: flat namespace
[1] 74410 trace trap php test-script.php
opcache.ini ;
opcache.enable = 1
opcache.enable_cli = 1
opcache.file_cache=/var/tmp/php/opcache
opcache.file_cache_only=1
opcache.file_cache_consistency_checks=1
if I set opcache.file_cache_only is 0, it'is working.
Previous Comments:
------------------------------------------------------------------------
[2015-10-16 10:45:51] requinix@php.net
Actually bug #70724 came in 24 minutes before yours :D
------------------------------------------------------------------------
[2015-10-16 08:11:29] doub1e dot 31415 at gmail dot com
Description:
------------
I compiled PHP 7.0.0RC5 through php-build, and it ended successely.
But then, I tried to execute "php -v", it not work and following error messages are
displayed.
So I checked source files in github/php-src, I found a file that may contained "include"
code with wrong path.
The patch I'll send is one about it.
I searched reports alike before writing this, if it duplicated, I'll apologize for it.
Test script:
---------------
php -v
Expected result:
----------------
PHP 7.0.0RC5 (cli) (built: Oct 15 2015 12:29:04) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
Actual result:
--------------
dyld: lazy symbol binding failed: Symbol not found: _accel_move_code_to_huge_pages
Referenced from:
/Users/t308/.phpenv/versions/7.0.0RC5/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
dyld: Symbol not found: _accel_move_code_to_huge_pages
Referenced from:
/Users/t308/.phpenv/versions/7.0.0RC5/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
[1] 25542 trace trap
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70725&edit=1
Thread (3 messages)