Re: Changing the soname of libphp4.so
| From: | Wez Furlong | Date: | Mon, 19 Apr 2004 19:29:13 +0000 |
| Subject: | Re: Changing the soname of libphp4.so | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9395@lists.php.net to get a copy of this message | ||
Hey Brian,
Would something as simple as this:
LDFLAGS="-soname=libphp4-embed.so" ./configure ...
work ?
--Wez.
----- Original Message -----
From: "Brian J. France" <list@firehawksystems.com>
To: <internals@lists.php.net>
Sent: Monday, April 19, 2004 7:29 PM
Subject: [PHP-DEV] Changing the soname of libphp4.so
> Is there a easy way to change the internal soname?
>
> I need to build the embeded sapi with a different internal soname.
> Yes, I can rename libphp4.so (the embeded version) to libphp4-embed.so,
> but things that link with libphp4-embed.so will have a dependency of
> libphp.so because that is what the internal soname is. This is causing
> problems because it will then load the wrong shared library (wrong
> sapi) if we have libphp4-embed.so and libphp4.so (apache sapi).
>
> If there is no easy way, can you give me pointers on what I need to
> patch/hack to get it to work. I will just maintain another company
> specific patch.
>
> Thanks,
>
> Brian
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>