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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php compile error

Status
Not open for further replies.

adeday

IS-IT--Management
Feb 14, 2002
3
US
I am compiling php on a Solaris 9 box and I am new to php.

I configured it like this:
./configure --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-apxs=/usr/local/apache/bin/apxs

it finished fine. when I do make, I get this error

ld: fatal: file ext/zlib/zlib.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'

Any ideas?

Thanks
-Daniel
 
I've never compiled PHP on a Solaris box, but the following have worked well for me on Linux:

./configure --with-mysql=/usr --with-zlib --with-apxs=.......


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top