On Tue, 2004-03-23 at 12:58, Clement Laforet wrote: > On Mon, 22 Mar 2004 20:06:48 -0800 > "Dave Fetterman" <davefet_at_microsoft.com> wrote: > > > I'm running a (gasp!) Apache 2 server on a lab machine on which I do > > not have full access privileges. I'd like to use the worker MPM, > > which, from what I gather, requires using libkse instead of libc_r. > > Is there a good way to map use of libc_r to libkse or do something > > similar without modifying /etc/libmap.conf, just within my directory? > > Or, for any Apache gurus in the house, to configure Apache to use > > libkse instead of libc/libc_r? > > If you use the port, you can set WITH_PTHREAD_LIBS and > WITH_PTHREAD_CFLAGS which override default ones. > I use it to test apache2 with libthr. > > clem Will this work on a 5.2.1-Release system as well? running make WITH_PTHREAD_LIBS="libkse" WITH_PTHREAD_CFLAGS="-libkse" WITH_MPM=worker still results in apache linking libc_r: Checking for Threads... checking for CFLAGS needed for pthreads... -pthread adding "-pthread" to CFLAGS checking for LIBS needed for pthreads... -lc_r adding "-lc_r" to LIBS checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether pthread_getspecific takes two arguments... no checking whether pthread_attr_getdetachstate takes one argument... no checking for pthread_key_delete... yes checking for pthread_rwlock_init... yes checking for pthread_rwlock_t... yes APR will use threads using env PTHREAD_LIBS="libkse" etc doesn't work either .... #> ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libz.so.2 => /lib/libz.so.2 (0x280c9000) libssl.so.3 => /usr/lib/libssl.so.3 (0x280d7000) libcrypto.so.3 => /lib/libcrypto.so.3 (0x28109000) libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x28217000) libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x2822b000) libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x2824b000) libm.so.2 => /lib/libm.so.2 (0x2826a000) libcrypt.so.2 => /lib/libcrypt.so.2 (0x28283000) libc_r.so.5 => /usr/lib/libc_r.so.5 (0x2829c000) libc.so.5 => /lib/libc.so.5 (0x282c0000)Received on Fri Mar 26 2004 - 06:41:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC