[Gllug] Apache1 linked to pthreads???

John Edwards John.Edwards at cornerstonelinux.co.uk
Mon Sep 1 19:53:10 UTC 2003


On Mon, Sep 01, 2003 at 08:14:58PM +0100, Richard Jones wrote:
> Why is my Debian Apache (1.3) linked to pthread? It's annoying because I
> can't run gdb on it to find out why it's crashing ...
> 
> # ldd /usr/sbin/apache
>         libm.so.6 => /lib/libm.so.6 (0x40026000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x40048000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40097000)
>         libdb-4.1.so => /usr/lib/libdb-4.1.so (0x400c3000)
>         libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40171000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4018e000)
>         libc.so.6 => /lib/libc.so.6 (0x40191000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Are you running unstable or testing ?

This is what I get on Debian 3.0 i386 (package version 1.3.26-0woody3) 
with libpth14 not installed:

------------------------------------------------------------------------
$ ls -la /usr/sbin/apache
-rwxr-xr-x    1 root     root       254216 Oct 26  2002 /usr/sbin/apache

$ ldd /usr/sbin/apache
	libm.so.6 => /lib/libm.so.6 (0x40017000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x40038000)
	libdb.so.2 => /lib/libdb.so.2 (0x40066000)
	libdb2.so.2 => /lib/libdb2.so.2 (0x40073000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x400b4000)
	libdl.so.2 => /lib/libdl.so.2 (0x400d5000)
	libc.so.6 => /lib/libc.so.6 (0x400d8000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
------------------------------------------------------------------------

Does you box have libpth set to be automatically loaded (eg LD_PRELOAD) ?


-- 
#---------------------------------------------------------#
|       John Edwards    Email: John.Edwards at uk.com        |
|                                                         |
| A. Because it breaks the logical sequence of discussion |
| Q. Why is top posting bad ?                     (anon)  |
#---------------------------------------------------------#

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list