php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22683 Looks like math lib not found, which is installed
Submitted: 2003-03-13 14:30 UTC Modified: 2003-03-19 16:50 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: j dot lammerts at chello dot nl Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4CVS-2003-03-13 (stable) OS: AIX 5.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: j dot lammerts at chello dot nl
New email:
PHP Version: OS:

 

 [2003-03-13 14:30 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-13 17:20 UTC] 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-19 16:50 UTC] 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.


 [2011-02-07 18:36 UTC] 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.
 [2011-02-07 19:11 UTC] phil dot nyc at gmail dot com
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 ==
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC