#31836 [NEW]: libxml fails when compiling as shared module
| From: | mezzymeat at users dot sourceforge dot net | Date: | Thu, 03 Feb 2005 22:15:06 +0000 |
| Subject: | #31836 [NEW]: libxml fails when compiling as shared module | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73423@lists.php.net to get a copy of this message | ||
From: mezzymeat at users dot sourceforge dot net
Operating system: Linux Slackware 10.0
PHP version: 5.0.3
PHP Bug Type: Compile Failure
Bug description: libxml fails when compiling as shared module
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 bug report at http://bugs.php.net/?id=31836&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31836&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31836&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31836&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31836&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31836&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31836&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31836&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31836&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31836&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31836&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31836&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31836&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31836&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31836&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31836&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31836&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31836&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31836&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31836&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31836&r=mysqlcfg