[PHP-DEV] Re: Bug #1624 Updated: Invalid argument to ld (-Wl,-rpath,...) From: Tom Payne (twp20 <email protected>)
Date: 06/30/99

Bug Database wrote:
>
> ID: 1624
> Updated by: sas
> Reported By: twp20 <email protected>
> 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

-- 
PHP Development Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>