php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12488 Configure fails when using --with-mysql=mysql_dir
Submitted: 2001-07-31 11:27 UTC Modified: 2001-07-31 14:41 UTC
From: fb33550 at gsk dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.6 OS: Solaris 8 (Sparc)
Private report: No CVE-ID: None
 [2001-07-31 11:27 UTC] fb33550 at gsk dot com
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 ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 14:41 UTC] sniper@php.net
Add --with-zlib to your configure line.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC