PHP 4.0 Bug #7108 Updated: PHP DSO/undefined symbol g_allow_ref
| From: | Bug Database | Date: | Sat, 14 Oct 2000 05:23:50 +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-34991@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
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?
Previous Comments:
---------------------------------------------------------------------------
[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