php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27913 ext/ldap/ldap.lo: unknown file type
Submitted: 2004-04-07 17:54 UTC Modified: 2004-04-08 14:56 UTC
From: apowell at memphis dot edu Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.3.5 OS: Solaris 8
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: apowell at memphis dot edu
New email:
PHP Version: OS:

 

 [2004-04-07 17:54 UTC] apowell at memphis dot edu
Description:
------------
Hi,

I am having problems compiling Php 4.3.5.  A plain compile works great, but when I try to compile in extra modules, I receive the following error at the "make" stage (configure goes just fine):

ld: fatal: file ext/ldap/ldap.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
make: *** [libphp4.la] Error 1

I think this may be a bug because similar problems have been reported before about earlier versions of Php (Php Bug #7416 and #23089, http://www.manucorp.com/archives/php-bugs/200305/msg00076.php).

One of the messages hinted that I might need to install sed, which I did to no avail.

I also tried a configuring without the "with-ldap" switch and then doing a make, and it just errored out on mssql instead:

ld: fatal: file ext/mssql/php_mssql.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
make: *** [libphp4.la] Error 1


Reproduce code:
---------------
./configure --with-ldap=/opt/local/ldapsdk-5.08 --with-iodbc=/opt/local/lib --with-mssql=/opt/local/freetds --with-nsapi=/opt/local/web/sunone6.1 --enable-libgcc

make

Expected result:
----------------
The system displays the following errors:

ld: fatal: file ext/ldap/ldap.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
make: *** [libphp4.la] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-07 18:03 UTC] edink@php.net
Do a "make clean" after reconfiguring php.
 [2004-04-08 14:56 UTC] apowell at memphis dot edu
Thanks!  You're a genius!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 13:01:29 2025 UTC