Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 12:19:46 -0400 (EDT)
From:      Will McCutcheon <freebsd@toyingwithfate.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: 'Unable to read from thread kernel pipe' error in Apache
Message-ID:  <200407161620.i6GGJkKC056366@toyingwithfate.com>
In-Reply-To: <20040716111515.1499690e.sheepkiller@cultdeadsheep.org>
References:  <20040715225910.6f14220f.sheepkiller@cultdeadsheep.org> <20040715214806.4bc8a4ee.sheepkiller@cultdeadsheep.org> <200407150539.i6F5dCZY004459@toyingwithfate.com> <200407152004.i6FK3eKC049113@toyingwithfate.com> <200407160529.i6G5MPKC052059@toyingwithfate.com> <20040716111515.1499690e.sheepkiller@cultdeadsheep.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Clement Laforet wrote:

> "ldd /usr/local/libexec/apache2/libphp4.so" should help us to know if 
> it comes from here.

$ ldd /usr/local/libexec/apache2/libphp4.so
/usr/local/libexec/apache2/libphp4.so:
        libcrypto.so.3 => /lib/libcrypto.so.3 (0x28548000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x28656000)
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x28688000)
        libmcal.so => /usr/local/lib/libmcal.so (0x286a1000)
        libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x286b0000)
        libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x2876e000)
        libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x2878e000)
        libpanel.so.2 => /usr/lib/libpanel.so.2 (0x28790000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x28794000)
        libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x287d4000)
        libldap.so.2 => /usr/local/lib/libldap.so.2 (0x287fa000)
        liblber.so.2 => /usr/local/lib/liblber.so.2 (0x28829000)
        libpam.so.2 => /usr/lib/libpam.so.2 (0x28836000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2883d000)
        libgmp.so.6 => /usr/local/lib/libgmp.so.6 (0x28935000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28963000)
        libt1.so.5 => /usr/local/lib/libt1.so.5 (0x2896c000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x289bc000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28a28000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28af0000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28aff000)
        libz.so.2 => /lib/libz.so.2 (0x28b24000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28b32000)
        libgdbm.so.3 => /usr/local/lib/libgdbm.so.3 (0x28b50000)
        libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x28b56000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28b85000)
        libm.so.2 => /lib/libm.so.2 (0x28b94000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28bad000)
        libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x28caf000)
        libnetsnmp.so.6 => /usr/local/lib/libnetsnmp.so.6 (0x28d19000)
        libkvm.so.2 => /lib/libkvm.so.2 (0x28db5000)
        libdevstat.so.4 => /lib/libdevstat.so.4 (0x28dbb000)
        libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x28dc0000)
        libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28e5a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28f16000)
        libc_r.so.5 => /usr/lib/libc_r.so.5 (0x28f25000)

I suspect the last line is what you're looking for.

> can you send me your modules list too ?

You're in luck, I have a little list I keep that I refer to every time I 
(re-)install the PHP port:

bzip2
ctype
curl
dbx
dio
domxml
exif
ftp
gd
gdbm
gettext
gmp
iconv
imap
mbstring
mcal
mysql
ncurses
openldap
openssl
pcre
posix
pspell
session
shmop
snmp
sockets
sysvsem
sysvshm
unixodbc
wddx
xml
yp
zlib

And, just for completion's sake, here's the relevant output from
phpinfo():

'./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all'
'--with-regex=php' '--with-pear' '--with-bz2=/usr' '--enable-ctype'
'--with-curl=/usr/local' '--enable-dba' '--enable-dbx' '--enable-dio' 
'--with-dom=/usr/local' '--enable-exif' '--enable-ftp' '--with-gd' 
'--enable-gd-native-ttf' '--with-freetype-dir=/usr/local' 
'--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local' 
'--with-png-dir=/usr/local' '--with-xpm-dir=/usr/X11R6' 
'--with-gdbm=/usr/local' '--with-gettext=/usr/local' 
'--with-gmp=/usr/local' '--with-iconv-dir=/usr/local' 
'--with-iconv=/usr/local' '--enable-mbstring' '--with-mcal=/usr/local' 
'--with-mysql=/usr/local' '--with-ldap=/usr/local' 
'--with-openssl-dir=/usr' '--with-openssl=/usr' '--with-pcre-regex=yes' 
'--enable-posix' '--with-pspell=/usr/local' '--enable-session' 
'--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--with-unixODBC=/usr/local' '--enable-wddx'
'--with-expat-dir=/usr/local' '--enable-xml' '--enable-yp'
'--with-zlib=yes' '--with-apxs2=/usr/local/sbin/apxs' '--enable-debug'
'--with-imap=/usr/local' '--with-imap-ssl=/usr/local'
'--with-ncurses=/usr' '--with-snmp=/usr/local' '--enable-ucd-snmp-hack'
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include'
'--prefix=/usr/local' 'i386-portbld-freebsd5.2.1'

Thanks for looking into this, I'm definitely out of my depth here!

W



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407161620.i6GGJkKC056366>