Re: Re: PHP 4.0 Bug #8144 Updated: apache dumps core after libphp.so loaded
| From: | David Birnbaum | Date: | Thu, 07 Dec 2000 15:20:34 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #8144 Updated: apache dumps core after libphp.so loaded | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40387@lists.php.net to get a copy of this message | ||
Compile error:
/bin/sh /home/src/mod_apache/mod_php/php-4.0.4RC4/libtool --silent
--mode=compile gcc -I. -I/home/s
rc/mod_apache/mod_php/php-4.0.4RC4/ext/standard
-I/home/src/mod_apache/mod_php/php-4.0.4RC4/main -I/
home/src/mod_apache/mod_php/php-4.0.4RC4 -I/opt/httpd/1.3.14/include
-I/home/src/mod_apache/mod_php/
php-4.0.4RC4/Zend -I/usr/local/include -I/usr/local/include/mysql
-I/home/src/mod_apache/mod_php/php
-4.0.4RC4/ext/xml/expat/xmltok
-I/home/src/mod_apache/mod_php/php-4.0.4RC4/ext/xml/expat/xmlparse -I
/home/src/mod_apache/mod_php/php-4.0.4RC4/TSRM -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=260 -DMOD_SSL=
207101 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSHARED_CORE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DXML_B
YTE_ORDER=21 -g -O2 -c basic_functions.c
basic_functions.c:455: `php_if_readdir64' undeclared here (not in a
function)
basic_functions.c:455: initializer element is not constant
basic_functions.c:455: (near initialization for
`basic_functions[272].handler')
make[3]: *** [basic_functions.lo] Error 1
David.
-----
** PLEASE NOTE ** This message was composed with the aid of a speech
recognition system. Please be aware there may be some strange word
usage. Many thanks....
On Thu, 7 Dec 2000, Sascha Schumann wrote:
> On Thu, 7 Dec 2000, David Birnbaum wrote:
>
> > Howdy,
> >
> > Now I'm having a runtime problem, where 4.0.4RC4 fails with the following missing
> > symbol:
> >
> > Syntax error on line 31 of /export/httpd/etc/srm.conf:
> > Cannot load /opt/httpd/1.3.14/libexec/libphp4.so into server: ld.so.1:
> > /opt/httpd/1.3.14/sbin/httpd:
> > fatal: relocation error: file /opt/httpd/1.3.14/libexec/libphp4.so:
> > symbol php_if_stat64: referenced symbol not found
>
> Try applying the attached patch. I'll commit it later to
> 4.0.4 branch.
>
> > Another person mentioned that my core dumping might be due to the
> > LARGEFILE support running an apache, which 4.0.4 is supposed to handle
> > properly.
>
> It probably was related to that.
>
> - Sascha
>