Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Compile problems

Status
Not open for further replies.

SLG

MIS
Dec 19, 2001
106
US
I am trying to compile PHP 5.0.4 on AIX 5.1 box with DB2 8.1 support. ./configure fails everytime at:
"configure: error: IBM DB2 required libraries not found
checking for IBM DB2 support... #"

Here is the command I'm using:
./configure --with-apache2=/usr/IBMIHS --disable-cli --disable-libxml --with-ibm-db2=/usr/opt/db2_08_01/ --with-flatfile |tee configure.log

I should mention that DB2 has been installed and running prior to this so I'm confident it's not my db2 installation.

Any suggestions?
 
OK, I figured out my first problem. The configure script was looking for the db2 lib file libdb2.so but on AIX lib files end with .a. So I changed configure to look for .a and it works fine. But now, when I run make I get this error:
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.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.

Any help would be appreciated!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top