Re: Need help in solving issues with configuration of php-5.2.8 with mysql-5.3.1

From: Date: Wed, 04 Mar 2009 06:52:24 +0000
Subject: Re: Need help in solving issues with configuration of php-5.2.8 with mysql-5.3.1
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-46024@lists.php.net to get a copy of this message
Hi Chris, Thanks for the response. > 1. I ran php configuration as below. > > $./configure --with-apxs2=/usr/local/apache2/bin/apxs > --with-mysql=/apps/mysql/mysql > > It went fine. Chris > Are you sure? Yes it went fine. > 2. While running make, i got following relink error. > > ld: fatal: file /usr/local/mysql/lib/libmysqlclient.so: wrong ELF class: > ELFCLASS64 Chris > Look at the path of the file it picked up - it found one in a completely different location.The path it has taken /usr/local/mysql/... There is a soft link to /usr/local/mysql which points to /apps/mysql/mysql Regards, Niranjan --- On Wed, 3/4/09, chris smith <dmagick@gmail.com> wrote: From: chris smith <dmagick@gmail.com> Subject: Re: [PHP-DB] Need help in solving issues with configuration of php-5.2.8 with mysql-5.3.1 To: niranjan_k_n@yahoo.com Cc: php-db@lists.php.net Date: Wednesday, March 4, 2009, 12:16 PM > 1. I ran php configuration as below. > > $./configure --with-apxs2=/usr/local/apache2/bin/apxs > --with-mysql=/apps/mysql/mysql > > It went fine. Are you sure? > 2. While running make, i got following relink error. > > ld: fatal: file /usr/local/mysql/lib/libmysqlclient.so: wrong ELF class: > ELFCLASS64 Look at the path of the file it picked up - it found one in a completely different location. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.db (#46024) next »