From:             apowell at memphis dot edu
Operating system: Solaris 8
PHP version:      4.3.5
PHP Bug Type:     *Compile Issues
Bug description:  ext/ldap/ldap.lo: unknown file type

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 bug report at http://bugs.php.net/?id=27913&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27913&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27913&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27913&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27913&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27913&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27913&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27913&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27913&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27913&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27913&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27913&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27913&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27913&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27913&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27913&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27913&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27913&r=float

Reply via email to