ID: 27913 User updated by: apowell at memphis dot edu Reported By: apowell at memphis dot edu Status: Bogus Bug Type: *Compile Issues Operating System: Solaris 8 PHP Version: 4.3.5 New Comment:
Thanks! You're a genius! Previous Comments: ------------------------------------------------------------------------ [2004-04-07 18:03:14] [EMAIL PROTECTED] Do a "make clean" after reconfiguring php. ------------------------------------------------------------------------ [2004-04-07 17:54:23] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27913&edit=1