|
|
"Undefined symbol: .sqrt " while compiling Apache 2.x on AIX 5.2
While compiling Apache 2.x on AIX 5.2, the compilation process aborted with the following error
message
|
ld: 0711-317 ERROR: Undefined symbol: .sqrt
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
|
The sqrt function is implement in the libm math
library, which is needed when linking Apache.
You can verify whether libm is installed on your
system by running:
# lslpp -l | grep bos.adt.libm
bos.adt.libm
5.2.0.50 COMMITTED Base Application Development
|
If bos.adt.libm is not installed, please copy
bos.adt from AIX installation disk 1 to your system and install it as follows:
|
installp -aXYgd . bos.adt
|
Re-run Apache's configure script and then
restart the compilation process. This time the error mentioned above shouldn' t occur.
|
|