You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2003/06/07 04:54:23 UTC

[apreq-2] missing -lpthread

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 <tr...@attglobal.net>
Reply-To: dev@httpd.apache.org,	trawick@attglobal.net
To: dev@httpd.apache.org
References: <2B...@mohmsg01.ad.infosys.com>

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/libapr-0.so: 
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 http://www.apache.org/~trawick/build_problems.html 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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com