httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject [apreq-2] missing -lpthread
Date Sat, 07 Jun 2003 02:54:23 GMT
This seems to be related to the apreq-2 build problems on linux. If you 
remember that I have reported that the automatic build doesn't work, since I 
don't get -lpthread in the output of '~/httpd/prefork/bin/apr-config --libs'.

-------- Original Message --------
Subject: Re: Error while installing apache 2.0.43 on Linux 7.3
Date: Fri, 06 Jun 2003 06:45:43 -0400
From: Jeff Trawick <>
References: <>

Rahul Kohli wrote:
 > Hi ,
 > I am installing Apache 2.0.43 on Linux 7.3, but during installation I am 
getting the following error:
 > /home/agent5qa/apache2043/httpd-2.0.43/srclib/apr/.libs/ 
undefined reference to `pthread_create'
 > and the installation stops .. Kindly suggest how can I resolve this issue.
 > I have also set the environment variable export LIBS=-lpthread.

Did you set "LIBS=-lpthread" at configure time or at "make install" time?

I've never heard of a failure exactly like that, though I have seen a
problem on Linux where "apr-config --libs" won't display -lpthread, and
-lpthread has to be included manually for applications using apr-config
to see what libs are necessary.  I wonder if that is related.

See for some standard
information that is helpful in debugging stuff like this.  There are
many ways that the build can go wrong.


Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message