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

From: Date: Sat, 26 Aug 2000 06:29:40 +0000
Subject: PHP 4.0 Bug #6364: Can not use odbc functions with iODBC and Openlink
Groups: php.dev 
Request: Send a blank email to php-dev+get-30713@lists.php.net to get a copy of this message
From: ybsheen@email.sun.net.tw Operating system: FreeBSD 3.5 Stable PHP version: 4.0.1pl2 PHP Bug Type: ODBC related Bug description: Can not use odbc functions with iODBC and Openlink 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.

« previous php.dev (#30713) next »