PHP 4.0 Bug #4580 Updated: Apache dies with PHP as DSO

From: Date: Mon, 29 May 2000 00:27:55 +0000
Subject: PHP 4.0 Bug #4580 Updated: Apache dies with PHP as DSO
Groups: php.dev 
Request: Send a blank email to php-dev+get-19654@lists.php.net to get a copy of this message
ID: 4580 User Update by: tb@2anc.de Old-Status: Open Status: Closed Old-Bug Type: Oracle related Bug Type: Dynamic loading related Description: Apache dies with PHP as DSO Problem was solved (thx to Mr. Thies C. Arntzen): " the problem here is that a executable thats *not* linked agains -lpthread cannot load a shared library that is liked against -lpthread. (libphp4.so - linked against -lclntsh linked against -lpthread). this is a glibc-2.1 bug that supposed to be finxed in 2.2 (i heard). " configuring Apache with LDFLAGS=-lpthread gave me a wonderful stable webserver with php3,php4/oracle and mysql support... ### example configure: [root@ucadev php-3.0.16]# LDFLAGS=-lpthread ./configure \ > --prefix=/usr/local/apache \ > --enable-shared=max ### this "workaround" should also fix BUGS #4437, #4577 and #4601 Full Bug description available at: http://bugs.php.net/version4/?id=4580

« previous php.dev (#19654) next »