Title: RE: Problems with APR under Linux...

Umm, a passive watcher; but couldn't help responding to you not being able to find a copy of Redhat in London?!

You'll find lots of book shops sell it, try Foyles down Charing Cross road...

James

-----Original Message-----
From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 16:09
To: [EMAIL PROTECTED]
Subject: FW: Problems with APR under Linux...


This _is_ interesting... For Craig, so that you can try it out under your
RedHat (you won't believe it, but I can't find a Linux copy in London in any
store! And downloading it will take a couple of days from BTInternet. Any
hint?)

    Pier


------ Forwarded Message
From: jean-frederic clere <[EMAIL PROTECTED]>
Date: Fri, 18 May 2001 16:19:07 +0200
To: "Pier P. Fumagalli" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Problems with APR under Linux...

"Pier P. Fumagalli" wrote:
>
> I'm a dork, I sent it only to Bill without including the mailing list...
> Damn lack of a Reply-To header :) :)
>
>     Pier
>
> [jreilly@lorien bin]$ ./httpd
> Syntax error on line 957 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_webapp.so into server:
> /usr/local/apache/libexec/mod_webapp.so: undefined symbol: pthread_sigmask
> [jreilly@lorien bin]$
>
> That's weird... Do anyone knows where this one could come from? It seems
> that pthread_sigmask is not found when talking about Linux, but that seems
> really strange, since I don't use any threading function per se in WebApp...
> (Might be called from apr_initialize?)

I have no found exactly what happends but just add -lpthread in the
(tomcat-connectors)/Makefile solves the problem:
+++Index: Makefile.in
===================================================================
RCS file:
/home/cvs/mirror/jakarta-tomcat-4.0/connectors/apache-1.3/Makefile.in,v
retrieving revision 1.1
diff -u -r1.1 Makefile.in
--- Makefile.in 2001/05/10 06:13:29     1.1
+++ Makefile.in 2001/05/18 13:38:27
@@ -68,7 +68,7 @@
 
 mod_webapp.so:
        @echo Linking Apache 1.3.x module
-       @$(APXS) -c $(APXSFLAGS) mod_webapp.c
+       @$(APXS) -c $(APXSFLAGS) -lpthread mod_webapp.c
 
 clean:
        @echo Removing object files $(OBJS) $(MODULE)
+++

An other solution would be to use an APR without threads. To do so use
"./configure --enable-threads=no" when configuring APR.
 

>
> It works under MacOS X :)
>
>     Pier

------ End of Forwarded Message



**********************************************************************
This e-mail (including any documents which may accompany it) contains
information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s) please note that any form of
distribution, copying or use of this e-mail or the information in it
or attached to it is strictly prohibited and may be unlawful.
If you have received this e-mail in error please notify us immediately
by e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 and
delete the e-mail.
Please advise immediately if you or your employer do not consent to
Internet E-Mail for messages of this type.
Information or opinions in this message that do not relate to the
business of Windsor plc and/or subsidiary and/or associated companies
shall be treated as neither given or endorsed by it.
**********************************************************************

Reply via email to