By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,466 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,466 IT Pros & Developers. It's quick & easy.

Compiling/Installing PHP 5 failure

P: n/a
I am trying to install PHP 5.0.4 on my Solaris 8 server.
I have already installed mysql 4.1.11 and Apache 2.0.54. Both appear to

work fine..

I'm running the ./configure with the following options:
../configure --with-apxs2=/opt/csw/apache2/bin/apxs --with-
mysql=/usr/local/mysql --with-zlib-dir=/opt/csw/lib

The script terminates with the the following error (from the

ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(client.o):
Undefined first referenced
symbol in file
mysql_error /var/tmp/ccmSQSM2.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 56843 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();

I have tried now for hours and hours but still I cant solve this. Any
hints and tips will be greatly appretiated.

Thanks !

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.