Re: Bug #1624 Updated: Invalid argument to ld (-Wl,-rpath,...)
| From: | Tom Payne | Date: | Wed, 30 Jun 1999 11:28:46 +0000 |
| Subject: | Re: Bug #1624 Updated: Invalid argument to ld (-Wl,-rpath,...) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-7866@lists.php.net to get a copy of this message | ||
Bug Database wrote:
>
> ID: 1624
> Updated by: sas
> Reported By: twp20@cam.ac.uk
> Status: Closed
> Bug Type: Compile Failure
> Assigned To:
> Comments:
>
> Use of --with-shared-apache is deprecated. If you want to use PHP as a shared module, use APXS.
> See INSTALL.DSO for more information.
>
> Full Bug description available at: http://bugs.php.net/?id=1624
This doesn't fix it: ld still gets passed a
-Wl,-rpath,/usr/local/mysql/lib argument which it doesn't like.
Looking through the php-dev achives I see that this bug has also been
reported as bugs #1288, #1203, #1146, #1047, #1042 and #932. It seems to
be a common problem, in existence since at least 3.0.6, and is not yet
fixed (previous bugs were either left open or closed with a mumble).
Summary is: when building PHP with DSO and MySQL support compile fails
because invalid option -Wl,... is passed to ld.
It seems specific to MySQL, which suggests an error in the configuration
scripts.
Regards,
Tom