Edit report at https://bugs.php.net/bug.php?id=60840&edit=1
ID: 60840
Updated by: johannes@php.net
Reported by: public at grik dot net
Summary: undefined symbol: mysqlnd_debug_std_no_trace_funcs
-Status: Assigned
+Status: Closed
Type: Bug
Package: PDO related
Operating System: linux
PHP Version: 5.4SVN-2012-01-22 (snap)
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of johannes@schlueters.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=064c62e4cf078cf08a40478dfe0e64bd51789e57
Log: Fix #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs)
Previous Comments:
------------------------------------------------------------------------
[2013-02-19 23:35:55] johannes@php.net
The following patch has been added/updated:
Patch Name: bug60840.diff
Revision: 1361316955
URL: https://bugs.php.net/patch-display.php?bug=60840&patch=bug60840.diff&revision=1361316955
------------------------------------------------------------------------
[2012-10-29 16:03:05] johannes@php.net
public at grik dot net,
the issue is when building the extensions shared we can't decide what to do with mysqlnd,
should that be built-in or shared, too? Or maybe the user has a different mysqlnd? - We leave this
to the user.
------------------------------------------------------------------------
[2012-06-14 10:03:03] public at grik dot net
Johannes, thanks for the response, but according to http://php.net/ChangeLog-5.php
"ext/mysql, mysqli and pdo_mysql now use mysqlnd by default." in 5.4
So the issues are:
1. Why should we explicitly enable the feature used by default?
2. How can we NOT use mysqlnd in debug mode, if it issues an error for missing
mysqlnd_debug_std_no_trace_funcs?
------------------------------------------------------------------------
[2012-06-14 09:57:57] fausten at pw-internet dot de
Hi,
the package is going to build with mysqlnd by default:
# cd /usr/ports/databases/php5-pdo_mysql && make config
MYSQLND - Use MySQL Native Driver (Is selected by default)
# make install clean
After installation:
The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=pdo_mysql.so
So the extension sholud be loaded after restarting php.
------------------------------------------------------------------------
[2012-06-14 09:41:44] johannes@php.net
When building the MySQL extensions you explicitly have to enable mysqlnd. i.e.
--enable-mysqlnd=shared. If you build mysqlnd shared you have to remember to load it, too.
I will look whether the build system can be made smarter and at least warn. I don't want to
make the decision in there whether to build shared or static. If I'd make that decision
I'd default to static mysqlnd.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60840--
Edit this bug report at https://bugs.php.net/bug.php?id=60840&edit=1