[PHP-DEV] Bug #12488 Updated: Configure fails when using --with-mysql=mysql_dir From: sniper <email protected>
Date: 07/31/01

ID: 12488
Updated by: sniper
Reported By: fb33550 <email protected>
Old Status: Open
Status: Closed
Bug Type: MySQL related
Operating System: Solaris 8 (Sparc)
PHP Version: 4.0.6
New Comment:

Add --with-zlib to your configure line.

--Jani

Previous Comments:
------------------------------------------------------------------------

[2001-07-31 11:27:48] fb33550 <email protected>

Hello,

I'm trying to run th configure script with the following command line :

./configure --enable-sysvshm --enable-sysvsem --with-mysql=/users/produits/mysql
--with-java=/usr/java1.2
--with-imap=/users/produits/include/imap
--enable-ftp --with-nsapi=/users/produits/ns-home/4.1 --prefix=/users/produits/php4.0.6

The error message is : C++ can't create executables

The last lines of the config.log file are :

Undefined first referenced
symbol in file
uncompress /users/produits/mysql/lib/mysql/libmysqlclient.so
compress /users/produits/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:

#line 54178 "configure"
#include "confdefs.h"

int main(){return(0);}

When I try to configure without the "--with-mysql" flag, it all works fine.

I'm using gcc 2.95.3 and MySQL 3.23.38

Any Idea ?

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=12488&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>