PHP 4.0 Bug #7108 Updated: PHP DSO/undefined symbol g_allow_ref

From: Date: Sat, 14 Oct 2000 06:19:47 +0000
Subject: PHP 4.0 Bug #7108 Updated: PHP DSO/undefined symbol g_allow_ref
Groups: php.dev 
Request: Send a blank email to php-dev+get-34992@lists.php.net to get a copy of this message
ID: 7108 User Update by: tilmann@cs.dartmouth.edu Status: Open Bug Type: Apache related Description: PHP DSO/undefined symbol g_allow_ref Partial solution: 1. Comment out the "LoadModule"/"AddModule" lines enabling PHP in the apache.conf file. 2. Start up Apache (via apachectl start). 3. Re-enable PHP in the apache.conf file. 4. Restart Apache (via apachectl restart). Result: Apache is running, with PHP enabled, and apparently working. (I forgot to mention that with PHP disabled, Apache 1.3.12 and 1.3.14 were running just fine -- the "undefined symbol" error appears only when PHP is enabled.) Previous Comments: --------------------------------------------------------------------------- [2000-10-14 01:23:50] tilmann@cs.dartmouth.edu Moving up to Apache 1.3.14 and PHP 4.0.3, even the latest files from snaps.php.net, the error is now: dyld: /usr/local/sbin/apache Undefined symbols: t This seems to be the same problem as in bug id 5430, where a truncated symbol was (obviously) undefined. (The "g_allow_ref" in my original report appeared to come from "[first,second]_arg_allow_ref".) System is standard OSX Server 1.2, using Apple's cc "based on gcc version 2.7.2.1", standard procedure (apache 1.3.14 is in /usr/local/sbin/apache[ctl]: % cd /usr/local/src % gnutar xfz php-4.0.3.tar.gz [replacing latest files from snaps -- sorry, I don't have the time to upload php4-latest.tar.gz to the server via modem] % ./configure --with-xml --with-mysql=/usr/local --with-apxs=/usr/local/sbin/apxs % make % make install % /usr/local/sbin/apachectl start % tail -2 /Local/Library/WebServer/Logs/apache_error_log Apache 1.3.14 was made like so: % gnutar xfz apache_1.3.14.tar.gz % cd apache_1.3.14 [modified to use /usr/local/ and /Local instead of /usr and /System] % ./configure --target=apache --enable-shared=max --enable-module=most % make % make install Then re-made the WebObjects module per instructions on www.stepwise.com. Anything I should be looking for during the config phase? Anything that I or OSX Server are missing? --------------------------------------------------------------------------- [2000-10-10 01:32:10] tilmann@cs.dartmouth.edu When compiling PHP 4.0.2 as a DSO for Apache 1.3.12 under Mac OS X Server 1.2, Apache quits with the error: dyld: /usr/local/sbin/apache Undefined symbols: g_allow_ref Solution: remove extra whitespace from the file php-4.0.2/ext/standard/basic_functions.c -- perhaps a wrapping error? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7108

« previous php.dev (#34992) next »