Re: php 4.1.1 Darwin shared apache builds
| From: | Dan Kalowsky | Date: | Mon, 18 Feb 2002 16:17:47 +0000 |
| Subject: | Re: php 4.1.1 Darwin shared apache builds | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80156@lists.php.net to get a copy of this message | ||
Hey Stas,
This has been a problem for awhile actually. Someone posted to the list
awhile back the best solution to the duplicate symbol message, removing
an entry of yytext from the zend_language_scanner.c. After talking with
Zeev this proved to be a bit more difficult then expected (thanks to
flex).
As far as the libtool parts go, I am still lost on it. I do know it needs
to have the -flat_namespace define added to the compile options.
On Mon, 18 Feb 2002, Stanislav Malyshev wrote:
> I have noticed that libtool for PHP 4.1.[01] doesn't build libphp4.so
> right on Darwin. Actually, it tries to build libphp4.dylib instead, and
> fails to do even that - first it tries to add all libraries twice and
> fails with a ton of "duplicate symbol" messages, then if you fix that
> manually you get .dylib which Apache fails to load with 'unknown reason'
> error message. If you take libtool from 4.0.6, it works OK and creates .so
> which runs perfectly for PHP 4.1.[01]. So I guess some bugs were
> introduced (at least with regard to Darwin) somewhere between 4.0.6 and
> 4.1. Can anybody shed some light on the matter - what was done on libtool
> side from 4.0.6 till 4.1.1 and could it break Darwin and what is the most
> efficient way to fix it?
>
>
>---------------------------------------------------------------<
Dan Kalowsky "Tonight I think I'll walk alone.
http://www.deadmime.org/~dank I'll find soul as I
go home."
dank@deadmime.org - "Temptation", New Order