Re: [PHP-DEV] PHP4 as apache2 dso doesn't load/compile on Solaris From: Sascha Schumann (sascha <email protected>)
Date: 12/04/00

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>