php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70774 `make test` issues an error loading pdo_mysql.so
Submitted: 2015-10-23 07:28 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: public at grik dot net Assigned:
Status: Open Package: *Compile Issues
PHP Version: 7.0.0RC5 OS: Mac OSX
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-10-23 07:28 UTC] public at grik dot net
Description:
------------
after building php and running make test an error comes out

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so' - dlopen(/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so, 9): Symbol not found: _mysqlnd_allocator


a test script with dl('pdo_mysql.so'); does not give any error

Test script:
---------------
$ configure --with-pdo-mysql=shared; make; make test

Expected result:
----------------
=====================================================================

PHP_SAPI    : cli
PHP_VERSION : 7.0.0RC5
ZEND_VERSION: 3.0.0-dev
PHP_OS      : Darwin - Darwin airgri.Dlink 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
INI actual  : /usr/local/src/php-7.0.0RC5/tmp-php.ini
More .INIs  :
CWD         : /usr/local/src/php-7.0.0RC5
Extra dirs  :
VALGRIND    : Not used
=====================================================================
TIME START 2015-10-23 10:17:07
=====================================================================
...

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so' - dlopen(/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so, 9): Symbol not found: _mysqlnd_allocator
  Referenced from: /usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so
  Expected in: flat namespace
 in /usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so' - dlopen(/usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so, 9): Symbol not found: _mysqlnd_allocator
  Referenced from: /usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so
  Expected in: flat namespace
 in /usr/local/src/php-7.0.0RC5/modules/pdo_mysql.so in Unknown on line 0

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 21:01:26 2019 UTC