Bug#199001: apache not linked against libpthread
Package: apache
Version: 1.3.26-1.1
Severity: normal
Didn't see an answer to this on the mailing list, so I'm going to file
it here for future reference.
Rivet, the next generation of mod_dtcl, links by default against Tcl
8.4, which now is built with threads. However, libpthread needs to be
linked against the executable that is actually launched, in order to
use its own version of fork(). So Rivet doesn't work unless I link
/usr/sbin/apache against libpthread...
Any ideas about the best way to resolve this?
*) Hack on linuxthreads implementation - dubious.
*) Make Tcl not use threads - not good, limits functionality.
*) Default apache build linked against pthreads - unnecessary overhead
for others, other problems?
*) Use LD_PRELOAD=/lib/libpthreads.so.0
Thankyou,
Dave
-- System Information
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux ashland 2.4.20 #20 Tue Mar 4 16:13:14 PST 2003 ppc
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages apache depends on:
ii apache-common 1.3.26-1.1 Support files for all Apache webse
ii dpkg 1.10.9 Package maintenance system for Deb
ii libc6 2.3.1-16 GNU C Library: Shared libraries an
ii libdb2 2:2.7.7.0-8 The Berkeley database routines (ru
ii libexpat1 1.95.6-4 XML parsing C library - runtime li
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl 5.6.1-8.2 Larry Wall's Practical Extraction
ii perl [perl5] 5.6.1-8.2 Larry Wall's Practical Extraction
Reply to: