I am trying to recompile php 5 with freetds so am using this :

./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686'
'--with-mssql=/usr/local/freetds'

Things seem ok so I do make and at the end of make I get this error:

/usr/bin/ld:ext/mssql/php_mssql.lo: file format not recognized; treating as
linker script
/usr/bin/ld:ext/mssql/php_mssql.lo:2: syntax error
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

I then did make install and of course got the same error:

/usr/bin/ld:ext/mssql/php_mssql.lo: file format not recognized; treating as
linker script
/usr/bin/ld:ext/mssql/php_mssql.lo:2: syntax error
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


I then do make clean.  Of course, it doesn't seem to regenerate the
libphp5.so so once I restart apache, and check out phpinfo, it shows the old
configuration.

What's wrong?

Thanks!

Reply via email to