Re: recompiling php
| From: | Curt Zirzow | Date: | Tue, 28 Feb 2006 02:47:19 +0000 |
| Subject: | Re: recompiling php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231179@lists.php.net to get a copy of this message | ||
On Sun, Feb 26, 2006 at 04:23:22PM -0500, blackwater dev wrote:
> 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
Since collect2 is closely related to gcc i would assume that there
is a binary issue, the first thing I would check is what version of
gcc (CC) you are using.
>
> 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
This will be expected since a proper 'make' needs to happen till
the 'make install' occurs'
Curt.
--
cat .signature: No such file or directory