php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31836 libxml fails when compiling as shared module
Submitted: 2005-02-03 23:15 UTC Modified: 2005-02-18 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mezzymeat at users dot sourceforge dot net Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.0.3 OS: Linux Slackware 10.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mezzymeat at users dot sourceforge dot net
New email:
PHP Version: OS:

 

 [2005-02-03 23:15 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-03 23:22 UTC] tony2001@php.net
run `make clean` and try again.
 [2005-02-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 17 05:00:03 2025 UTC