ID: 12488
Updated by: sniper
Reported By: [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] [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]