#37630 [Csd]: MySQL extensions should link against thread safe client libs if built with ZTS
| From: | mike@php.net | Date: | Thu, 01 Jun 2006 20:00:33 +0000 |
| Subject: | #37630 [Csd]: MySQL extensions should link against thread safe client libs if built with ZTS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97941@lists.php.net to get a copy of this message | ||
ID: 37630
Updated by: mike@php.net
Reported By: openmacnews at gmail dot com
Status: Closed
Bug Type: MySQL related
Operating System: osx
PHP Version: 5.1.4
New Comment:
> looks like you've added conditionals
Of course.
> how about the reference in ./ext/mysql/mysql.mak
I have no idea, this is some ancient Netware stuff.
Previous Comments:
------------------------------------------------------------------------
[2006-06-01 19:48:58] openmacnews at gmail dot com
hi mike,
thanks for the CVS pointer ...
in 5.2cvs DL, i note:
% grep mysqlclient
grep -rlni mysqlclient .
...
./ext/mysql/config.m4: MYSQL_LIBNAME=mysqlclient_r
./ext/mysql/config.m4: MYSQL_LIBNAME=mysqlclient
./ext/mysql/mysql.mak:LIBRARY = $(MYSQL_DIR)/lib/libmysqlclient.lib
./ext/mysqli/config.m4: MYSQL_LIB_NAME='mysqlclient'
./ext/mysqli/config.m4: MYSQL_LIB_NAME='mysqlclient_r'
./ext/pdo_mysql/config.m4: str="$PDO_MYSQL_DIR/$1/libmysqlclient*"
./ext/pdo_mysql/config.m4: PDO_MYSQL_LIBNAME=mysqlclient_r
./ext/pdo_mysql/config.m4: PDO_MYSQL_LIBNAME=mysqlclient
which looks like you've added conditionals in the requisite config.m4's
...
how about the reference in ./ext/mysql/mysql.mak ?
# Library files
LIBRARY = $(MYSQL_DIR)/lib/libmysqlclient.lib
needed to change?
richard
------------------------------------------------------------------------
[2006-06-01 19:35:04] mike@php.net
5.2 (and 6 except PDO)
------------------------------------------------------------------------
[2006-06-01 19:27:48] openmacnews at gmail dot com
mike,
thanks.
in which branch is the "fix"? 51, 52 &/or 6?
------------------------------------------------------------------------
[2006-06-01 19:15:50] mike@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2006-06-01 13:22:27] mike@php.net
Set status back to "Open".
------------------------------------------------------------------------
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
http://bugs.php.net/37630
--
Edit this bug report at http://bugs.php.net/?id=37630&edit=1