Jump to content

problem configuring php5 with mysql


Recommended Posts

If anyone can help me out here I'd be very grateful.

 

I've just upgraded my mysql to 5.0.27 and I'm trying to upgrade my php to 5.2.1 (from versions 4.x in both cases).

 

I trying to configure php with :

 

./configure --prefix=/usr/local/apache2/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gd --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --with-zlib-dir=/usr/local --with-libxml-dir=/usr/local --with-xsl=/usr/local

 

and I keep getting :

.

.

checking for MySQL support... yes

checking for specified location of the MySQL UNIX socket... no

checking for MySQL UNIX socket location... no

checking for mysql_close in -lmysqlclient... no

checking for mysql_error in -lmysqlclient... no

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

 

config.log truncates with:

/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x88): In function `TaoCrypt::FileSource::~FileSource(void)':

/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x28c): In function `TaoCrypt::FileSink::~FileSink(void)':

char mysql_error();

mysql_error()

 

 

If anyone has ANY idea(s) what I'm missing/doing wrong...????

 

thanks!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.