Changing the soname of libphp4.so
| From: | Brian J. France | Date: | Mon, 19 Apr 2004 18:29:33 +0000 |
| Subject: | Changing the soname of libphp4.so | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9389@lists.php.net to get a copy of this message | ||
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