PHP 4.0 Bug #6364 Updated: Can not use odbc functions with iODBC and Openlink

From: Date: Tue, 02 Jan 2001 23:59:39 +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-42749@lists.php.net to get a copy of this message
ID: 6364 Updated by: sniper Reported By: ybsheen@email.sun.net.tw Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6364

« previous php.dev (#42749) next »