Re: PHP4 as apache2 dso doesn't load/compile on Solaris
| From: | Sascha Schumann | Date: | Mon, 04 Dec 2000 15:56:49 +0000 |
| Subject: | Re: PHP4 as apache2 dso doesn't load/compile on Solaris | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39988@lists.php.net to get a copy of this message | ||
On Mon, 4 Dec 2000, Andreas Karajannis wrote:
>
> Trying to use php as apache2 filter results in:
>
> Cannot load apache2/libexec/libphp4.so into server: ld.so.1:
> apache2/bin/httpd: fatal: relocation error: file
> apache2/libexec/libphp4.so: symbol __pure_virtual: referenced symbol not
> found
>
> Obviously it has something to do with the use of the C++ Zend scanner.
> OS is Solaris 7, compiler was gcc 2.95.2 for both apache and PHP.
>
--enable-libgcc should fix that.
Mixing C++ code and shared libraries is still quite
problematic on some platforms.
> Btw: When using the Sun C++ compiler, compilation fails altogether,
> complaining about missing include files etc.
Could you send them to me in pm? Thx.
- Sascha