#31836 [Opn->Fbk]: libxml fails when compiling as shared module

From: Date: Thu, 03 Feb 2005 22:22:05 +0000
Subject: #31836 [Opn->Fbk]: libxml fails when compiling as shared module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73424@lists.php.net to get a copy of this message
ID: 31836 Updated by: tony2001@php.net Reported By: mezzymeat at users dot sourceforge dot net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux Slackware 10.0 PHP Version: 5.0.3 New Comment: run make clean and try again. Previous Comments: ------------------------------------------------------------------------ [2005-02-03 23:15:05] mezzymeat at users dot sourceforge dot net Description: ------------ Using PHP 5.0.3 and trying to install it as shared module with Apache 2.0.52. When running configure with --with-apxs2 flag "make" gives the error ext/libxml/libxml.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 This does not occure when PHP is a static module or not using Apache 2.x I have libxml installed but PHP does not seem to "recognize it", as it says in the error. I tried to run configure with the --disable-xml along with the --disable-pear but that made no difference. I have posted a thread at LinuxQuestions about this at http://www.linuxquestions.org/questions/showthread.php?s=&postid=1449341 Reproduce code: --------------- $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --disable-cgi $ make Expected result: ---------------- A compiled source Actual result: -------------- ext/libxml/libxml.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31836&edit=1

« previous php.bugs (#73424) next »