php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14322 elocation error: symbol not found: pow
Submitted: 2001-12-03 07:00 UTC Modified: 2002-02-15 21:54 UTC
From: maxim at bankis dot ru Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.0CVS-2001-12-0 OS: SCO Unixware 7.1.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: maxim at bankis dot ru
New email:
PHP Version: OS:

 

 [2001-12-03 07:00 UTC] maxim at bankis dot ru
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-15 21:54 UTC] yohgaki@php.net
This bug has been fixed in CVS.

I don't have problem with current CVS version. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC