php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6967 AOLserver - undefined symbol __pure_v irtual
Submitted: 2000-10-01 00:14 UTC Modified: 2000-10-01 08:30 UTC
From: jdd at efn dot org Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0.2 OS: FreeBSD 3.5.1
Private report: No CVE-ID: None
 [2000-10-01 00:14 UTC] jdd at efn dot org
I build AOLserver; 
I build PHP 4.0.2 using: 
./configure --with-aolserver=/var/web --disable-libtool-lock
I add lines to nsd.tcl to load PHP;
but PHP doesn't load, and my server.log file says:
[-main-] Warning: modload: failed to load '/var/web/bin/libphp4.so': '/var/web/bin/libphp4.so: Undefined symbol "__pure_virtual"'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-01 00:51 UTC] jdd at efn dot org
On further investigation...
the __pure_virtual symbol is in zend-scanner-cc.lo and comes from libg++.  Looking at a few other bug reports (5235, 4404... ) it seems this might be a Zend bug common to multithreaded servers.  
Using --enable-experimental-zts did not fix the problem.
I'm using flex 2.5.4 and gcc 2.7.2.3.  
 [2000-10-01 08:30 UTC] jdd at efn dot org
The fix is to use --enable-libgcc.  Thanks to Sascha for pointing this out.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 12:01:24 2020 UTC