#24493 [Opn]: ./configure to check if --with-mssql and --with-sybase/--with-sybase_ct is set
| From: | fmk@php.net | Date: | Sat, 05 Jul 2003 21:52:47 +0000 |
| Subject: | #24493 [Opn]: ./configure to check if --with-mssql and --with-sybase/--with-sybase_ct is set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43309@lists.php.net to get a copy of this message | ||
ID: 24493
Updated by: fmk@php.net
Reported By: mattias at segerdahl dot info
Status: Open
Bug Type: Feature/Change Request
Operating System: All Nix Systems
PHP Version: 5.0.0b1 (beta1)
New Comment:
I think we should exclude the mssql_* frunctions from the Sybase
extensions when we compile on Windows or use --with-mssql on nix.
#f !defined(HAVE_MSSQL) && !define(PHP_WIN32)
...
#enif
should fix this problem, at least one of the extensions are compiled as
a shared object. Both modules uses libraries the expose the same object
names so it is not possible to link both extensions in the same binary
(unless they both link with freetds).
Previous Comments:
------------------------------------------------------------------------
[2003-07-04 07:30:21] derick@php.net
Extra informations: Both extensions register the same functions, that's
why they should not be enabled together at the same time.
------------------------------------------------------------------------
[2003-07-04 07:28:36] mattias at segerdahl dot info
Description:
------------
Please configure the configuration script to check if both
--with-sybase(_ct) and --with-mssql has been choosen when ./configure
is running. This to prevent both modules to register the mssql_*
functions
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24493&edit=1