Ave,

Trying to configure, build & compile PHP 5.2.3 on a Mac OS X 10.3.9 from
scratch (Since there is no installer available for Panther). Installed all
dependencies. Latest mySQL 5 client/server is installed (Using the mySQL
Installer available at the mySQL website). I did not build & compile mySQL
and I don¹t wish to either ­ so looking for some other solution to this
problem. 

Getting the following error during ./configure:

configure: error: mysql configure failed. Please check config.log for more
information.

This is the mysql related portion from ³config.log²:

int main() {
dnet_addr()
; return 0; }
configure:58392: checking for MySQL support
configure:58438: checking for specified location of the MySQL UNIX socket
configure:58495: checking for MySQL UNIX socket location
configure:58685: checking for mysql_close in -lmysqlclient
configure:58704: gcc -o conftest -I/usr/include -g -O2  -no-cpp-precomp
-L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib
-L/opt/local/lib -L/opt/local/lib -L/usr/local/php5/lib
-L/usr/local/php5/lib conftest.c -lmysqlclient  -lsybdb -lldap -llber
-liconv -lintl -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lssl -lcrypto -lm
-lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
ld: table of contents for archive: /usr/local/php5/lib/libsybdb.a is out of
date; rerun ranlib(1) (can't load from it)
configure: failed program was:
#line 58693 "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_close();

int main() {
mysql_close()
; return 0; }
configure:58925: checking for mysql_error in -lmysqlclient
configure:58944: gcc -o conftest -I/usr/include -g -O2  -no-cpp-precomp
-L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib
-L/opt/local/lib -L/opt/local/lib -L/usr/local/php5/lib
-L/usr/local/php5/lib -L/usr -L/usr conftest.c -lmysqlclient  -lz -lsybdb
-lldap -llber -liconv -lintl -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lssl
-lcrypto -lm  -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
ld: table of contents for archive: /usr/local/php5/lib/libsybdb.a is out of
date; rerun ranlib(1) (can't load from it)
configure: failed program was:
#line 58933 "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();

int main() {
mysql_error()
; return 0; }

Help would be appreciated.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.

W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]

³I morti non sono piu soli ... The dead are no longer lonely²

Reply via email to