PHP 4.0 Bug #6364 Updated: Can not use odbc functions with iODBC and Openlink
| From: | sniper@php.net | Date: | Sun, 04 Feb 2001 01:18:10 +0000 |
| Subject: | PHP 4.0 Bug #6364 Updated: Can not use odbc functions with iODBC and Openlink | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45701@lists.php.net to get a copy of this message | ||
ID: 6364
Updated by: sniper
Reported By: ybsheen@email.sun.net.tw
Old-Status: Feedback
Status: Bogus
Bug Type: ODBC related
Assigned To:
Comments:
you cannot compile PHP with both --iodbc and with --openlink
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-02 10:48:19] kalowsky@php.net
does this problem still exist in the current release?
---------------------------------------------------------------------------
[2000-08-26 05:13:30] kara@php.net
It seems you have configured php using --with-iodbc and --with-openlink. Please use only one of
them, in your case openlink.
As for the pthread problem: I'm not familiar with *BSDs, but maybe openlink also provides
drivers without pthread?
At least under Linux, adding -pthread to apache doesn't do any harm.
---------------------------------------------------------------------------
[2000-08-26 02:29:40] ybsheen@email.sun.net.tw
I compiled php4 with iodbc, openlink and apache_1.3.12 support.
It is fine when use the "odbctest" provided by the openlink to connect database.
It doesn't work when I use the php odbc_connect function and the "odbctest" provided
by libiodbc.
The error message are the same.
/usr/libexec/ld-elf.so.1: /usr/local/openlink/lib/oplodbc.so.1.0:Undefined symbol
"pthread_mutex_lock"
I can add -pthread and recompile the "odbctest" to make it work, but it doesn't works
with php. If I add -pthread to apache, the httpd will waste most CPU time. Is there any solution ?
Thanks in advance.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6364&edit=2