On Mon, 22 Mar 2004, Dave Fetterman wrote: > Hey all, > > > > 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? Actually, in -current libkse is now libpthread, so that is probably what you want. You might be able to do this by playing with LD_LIBRARY_PATH. Create a directory with the following: $ mkdir ~/lib/i386 $ cp /usr/lib/libpthread.so.1 ~/lib/i386 $ ln -s ~/lib/i386/libpthread.so.1 ~/lib/i386/libpthread.so $ ln -s ~/lib/i386/libpthread.so.1 ~/lib/i386/libc_r.so.5 $ ln -s ~/lib/i386/libpthread.so.1 ~/lib/i386/libc_r.so The actual shared object name is built into the library, so I'm not sure if making links like this would work. You may have to rebuild libpthread with LIB=c_r (line 13 of src/lib/libpthread/Makefile). You can set LD_LIBRARY_PATH=/home/you/lib/i386 and then invoke apache. Do an 'ldd' on the apache executable to make sure that it is picking up the libraries in LD_LIBRARY_PATH. -- Dan EischenReceived on Tue Mar 23 2004 - 07:10:06 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC