Bug #14322: elocation error: symbol not found: pow
| From: | maxim at bankis dot ru | Date: | Mon, 03 Dec 2001 12:00:21 +0000 |
| Subject: | Bug #14322: elocation error: symbol not found: pow | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72326@lists.php.net to get a copy of this message | ||
From: maxim@bankis.ru
Operating system: SCO Unixware 7.1.0
PHP version: 4.0CVS-2001-12-03
PHP Bug Type: Apache2 related
Bug description: elocation error: symbol not found: pow
I have the most recent (today CVS updated) apache 2.0 and php 4
After configuration the recent version of php:
CC=cc CXX=CC ./configure --with-mysql=/usr/local/mysql
--with-apxs2=/usr/local/apache2/bin/apxs --with-gd --enable-ftp --with-dom
--with-zlib-dir=/usr/local/lib --with-iconv=/usr/local/include
--with-zlib=/usr/local
I've started compiling it:
#: make
....
First time i've got an error in apache2filter/sapi_apache2.c: "no such
stuct member: _shutdown".
After manualy fixing this file, compilation succeeded with warning:
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
Then I executed:
# make install; /usr/local/apache2/bin/apachectl configtest
...and get:
Syntax error on line 198 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic
linker: /
usr/local/apache2/bin/httpd: relocation error: symbol not found: finite;
referenced
from: /usr/local/apache2/modules/libphp4.so
Then i've opened php_config.h and delete the following declaration: #define
HAVE_FINITE 1
After that i "made clean, make, etc". But after configtest apache spit at
me with a relocation error in the same library:
Syntax error on line 198 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic
linker: /
usr/local/apache2/bin/httpd: relocation error: symbol not found: pow;
referenced
from: /usr/local/apache2/modules/libphp4.so
So that is the problem. Can anybody tell me what to do?
P.S. The same problem i've got under Apache 1.3
P.P.S. Release version of PHP 4.0.6 compiles and runs perfectly on the this
machine, but i can't use it because of iconv() function missing.
--
Edit bug report at: http://bugs.php.net/?id=14322&edit=1