ID:               25337
 User updated by:  spunge at spunge dot org
 Reported By:      spunge at spunge dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         DOM XML related
 Operating System: Linux
 PHP Version:      4.3.3
 New Comment:

I haven't recompiled yet (not that far yet). Will give feedback once
that has been completed.

I am on a old Linux System. the glibc version is the 2.0 series
(2.0.7).


Previous Comments:
------------------------------------------------------------------------

[2003-09-01 11:11:49] [EMAIL PROTECTED]

This bug in glibc was supposed to be fixed in glibc 2.2 or later..which
version do you have?


------------------------------------------------------------------------

[2003-09-01 10:58:20] [EMAIL PROTECTED]

Then you need to recompile Apache to be linked with libpthread. This is
common problem with glibc/libpthread when the binary is not linked with
phtread but the loaded shared library (in this case libphp4.so ->
libxml2.so -> libphtread.so) is.

# cd /usr/src/apache_1.3.xx
# make clean
# LIBS=-lpthread ./config.status
# make
# make install

(if you still happen to have the configured apache sources there)


------------------------------------------------------------------------

[2003-09-01 10:07:24] spunge at spunge dot org

libXML Version: LibXML2 2.5.10

libxml2 is linked with libpthread, but apache doesn't appear to be.

------------------------------------------------------------------------

[2003-09-01 08:05:17] [EMAIL PROTECTED]

I wanted to know libxml version and is it linked with libpthread? Is
httpd linked with libpthread?


------------------------------------------------------------------------

[2003-09-01 07:29:55] spunge at spunge dot org

Here are the steps used to reproduce this "bug" on my machine...

./configure --prefix=/usr/local/apache/www
--with-apxs=/usr/local/apache/www/bin/apxs --with-calendar --with-gdbm
--with-ndbm --enable-ftp --enable-gd-native-ttf --with-gd=/usr/local
--with-ttf=/usr/local --with-mysql=/usr/local/mysql 
--with-mysql-sock=/var/log/mysql/mysql.sock --with-imap=/usr/local/lib

--with-curl=/usr/local --with-mcrypt=/usr/local --enable-track-vars
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-mailparse
--enable-trans-sid 
--enable-exif --with-mhash --with-tiff-dir=/usr/local 
--with-zlib --with-flatfile --with-imap-ssl=/usr/local/ssl 
--with-openssl=/usr/local/ssl --with-ldap=/usr/local/openldap
--with-readline --with-mm --with-pspell --enable-wddx --with-pear
--with-xslt --with-xslt-sablot --with-expat-dir=/usr/local
--with-iconv-dir=/usr/local --with-dom --enable-debug
(no critical errors reported)
make
make install
/usr/local/apache/www/bin/apachectl stop
/usr/local/apache/www/bin/apachectl start
End result: Apache doesn't start though it says it did. There are no
errors in the error log. If I delete the error log, it does recreate it
at zero length.

If I remove --with-dom, and go through the steps, all works fine.

I can also compile PHP statically in Apache with --with-dom and appears
to work. This isn't the best solution though.

an ldd on libphp4.so didn't show that it couldn't find any of the
libraries.

I already gave the backtrace in the initial posting. I am not sure what
other information would be useful to you, or you are looking for. If
you provide some hints, I can provide information.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25337

-- 
Edit this bug report at http://bugs.php.net/?id=25337&edit=1

Reply via email to