Bug #22683 [Com]: Looks like math lib not found, which is installed
| From: | phil dot nyc at gmail dot com | Date: | Mon, 07 Feb 2011 18:11:19 +0000 |
| Subject: | Bug #22683 [Com]: Looks like math lib not found, which is installed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158561@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=22683&edit=1
ID: 22683
Comment by: phil dot nyc at gmail dot com
Reported by: j dot lammerts at chello dot nl
Summary: Looks like math lib not found, which is installed
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX 5.1
PHP Version: 4CVS-2003-03-13 (stable)
Block user comment: N
Private report: N
New Comment:
Update - this seems to be a bogus bug as far as PHP is concerned:
I followed instructions in this thread
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=124094
then make
clean, reconfigure for good measure, and finally got make to complete.
AIX is a
piece.
== Quote of above URL ==
Please open /usr/include/math.h, and search __floor. then you can find
this:
#if (__xlC__ >= 0x0600) /* VAC version 6 and above */
#define floor(__x) __floor(__x)
#define ceil(__x) __ceil(__x)
#endif /* __xlC__ >= 0x0600 */
Maybe you have a xlc whose version is lager than 0x0600( I have
600268439176,
and have this problem when I build perl from source code).
I don't know the difference of function __floor , _floor and floor, but
I
changed __floor to floor and __ceil to ceil , and recover it after I
completed
the compiling.
== End quote ==
Previous Comments:
------------------------------------------------------------------------
[2011-02-07 18:36:28] phil dot nyc at gmail dot com
I have a similar problem compiling php 5.2.17 on aix 5.3
I've configured with ./configure --program-prefix=4s --with-ibm-
db2=/db2/v91t/db2lawt/sqllib --with-apxs2=/usr/apache2/bin/apxs
--enable-pcntl -
-enable-ftp --enable-cli
Now I'm running gnu make 3.82 and getting these errors:
o Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo
Zend/zend_
objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo
Zend/zend_defau
lt_classes.lo Zend/zend_execute.lo ext/pcntl/pcntl.lo
ext/pcntl/php_signal.lo sa
pi/cli/php_cli.lo sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo
main/internal_
functions_cli.lo -lrt -lm -lpthread -lxml2 -liconv -lm -lxml2 -liconv
-lm -ldb2
-lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv
-lm -o
sapi/cli/php
ld: 0711-317 ERROR: Undefined symbol: .__floor
ld: 0711-317 ERROR: Undefined symbol: .__ceil
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: *** [sapi/cli/php] Error 8
Please tell me what more information is required for this issue.
------------------------------------------------------------------------
[2003-03-19 16:50:04] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-03-13 17:20:57] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-03-13 14:30:40] j dot lammerts at chello dot nl
First try to compile PHP on AIX 5.1.
gcc version 2.95.3
AIX level 5.1.0.0
Only option used (for test) in configure: --without-mysql.
Make ends in this:
ld: 0711-317 ERROR: Undefined symbol: .pow
ld: 0711-317 ERROR: Undefined symbol: .ceil
ld: 0711-317 ERROR: Undefined symbol: .floor
ld: 0711-317 ERROR: Undefined symbol: .sin
ld: 0711-317 ERROR: Undefined symbol: .cos
ld: 0711-317 ERROR: Undefined symbol: .tan
ld: 0711-317 ERROR: Undefined symbol: .asin
ld: 0711-317 ERROR: Undefined symbol: .acos
ld: 0711-317 ERROR: Undefined symbol: .atan
ld: 0711-317 ERROR: Undefined symbol: .atan2
ld: 0711-317 ERROR: Undefined symbol: .sinh
ld: 0711-317 ERROR: Undefined symbol: .cosh
ld: 0711-317 ERROR: Undefined symbol: .tanh
ld: 0711-317 ERROR: Undefined symbol: .exp
ld: 0711-317 ERROR: Undefined symbol: .expm1
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-317 ERROR: Undefined symbol: .log10
ld: 0711-317 ERROR: Undefined symbol: .sqrt
ld: 0711-317 ERROR: Undefined symbol: .fmod
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
I remember that these messages can mean that libm is not installed, but
it is..
Any suggestions ?
Hans
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=22683&edit=1