Re: PHP4 as apache2 dso doesn't load/compile on Solaris
| From: | Sascha Schumann | Date: | Mon, 04 Dec 2000 16:31:54 +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-39994@lists.php.net to get a copy of this message | ||
On Mon, 4 Dec 2000, Andreas Karajannis wrote:
> Sascha Schumann wrote:
> >
> > 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.
> >
> Well, just tried this - results in
>
> Creating new config (c0940) for Segmentation Fault - core dumped
Wild guess: Your GCC has only a static libgcc.a containing
non-relocatable code. Solaris does not like non-relocatable
code in shared libraries, so it simply core dumps.
- Sascha