Bug #68255 [NEW]: mysqlnd does not link with ssl
From: glen at delfi dot ee
Operating system:
PHP version: 5.6.2
Package: MySQL related
Bug Type: Bug
Bug description:mysqlnd does not link with ssl
Description:
------------
seems if mysqlnd is built shared the resulting mysqlnd.so is not linked
with openssl libs causing lib not loadable
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: BIO_new_
mem_buf in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysql.so' - modules/mysql.so: undefined symbol: mysqlnd_reve
rse_api_register_api in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: BIO_new_
mem_buf in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysqli.so' - modules/mysqli.so: undefined symbol: mysqlnd_ge
t_client_info in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: BIO_new_
mem_buf in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: BIO_new_
mem_buf in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'modules/pdo_mysql.so' - modules/pdo_mysql.so: undefined symbol: mysq
lnd_get_client_info in Unknown on line 0
dirty workaround:
$ make MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
from existing bugs i found (also unresolved) bug 66915 having same issue
with zlib (-lz)
--
Edit bug report at https://bugs.php.net/bug.php?id=68255&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68255&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68255&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68255&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68255&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68255&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68255&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68255&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68255&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68255&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68255&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68255&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68255&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68255&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68255&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68255&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68255&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68255&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68255&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68255&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68255&r=mysqlcfg
Thread (3 messages)
- glen at delfi dot ee