#17549 [Opn->Csd]: Apahe 2.0.36 fails to start: "unresolved symbol"

From: Date: Fri, 23 Aug 2002 18:09:56 +0000
Subject: #17549 [Opn->Csd]: Apahe 2.0.36 fails to start: "unresolved symbol"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17687@lists.php.net to get a copy of this message
ID: 17549 Updated by: kalowsky@php.net Reported By: mcaplin@miami.edu -Status: Open +Status: Closed Bug Type: Apache2 related Operating System: Compaq Tru64UNIX 5.1A PHP Version: 4.2.1 New Comment: marking as closed. Previous Comments: ------------------------------------------------------------------------ [2002-08-23 10:31:25] emanuele.lombardi@casaccia.enea.it Solved! See bug #19038 for details simply setenv CFLAGS -pthread before configuring and making both apache and php It worked with apache-2.0.40 php4-STABLE-200208220000 Hardware: COMPAQ Alpha server OS: COMPAQ Tru64 Cluster 5.1A 2nd patch cc: Compaq C V6.4-215 (dtk) Bye bye Emanuele Lombardi ------------------------------------------------------------------------ [2002-07-29 22:31:16] ghall@NOSPAM.csh.rit.edu I figured out a nasty hack to fix this problem. When I was building Apache2.0.39, I was assuming that pthreads were enabled. After closer inspection, I realized that the configure was disabling threads in the APR. The problem turned out to be a CPP/CC issue. I changed a #error in pthreads.h to a #warning: # warning "Please compile the module including pthread.h with -pthread" Presto, the next time I ran configure for apache, it enabled threads in the APR which fixed all my php/pthread linking woes. FYI, under DU5.1a, __pthread_self is defined in /shlib/libpthreads.so. ------------------------------------------------------------------------ [2002-07-29 21:21:14] ghall@NOSPAM.csh.rit.edu the only way i have figured around this bug is to use the portable threading library (pth). ------------------------------------------------------------------------ [2002-07-10 06:33:53] dgm300@ecs.soton.ac.uk I'm experiencing the same problem. The symbol "__pthread_self" unresolved error message. I'm running Apache 2.0.39 and php 4.2.1 with a similar configuration as above (without the --quiet option). ------------------------------------------------------------------------ [2002-06-01 09:31:23] sniper@php.net reclassified ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17549 -- Edit this bug report at http://bugs.php.net/?id=17549&edit=1

« previous php.bugs (#17687) next »