On Fri, 25 May 2001, Andrey Kotrekhov wrote:


> I don't agree.
> If mysql install in other directory then /usr/local
> you need use --with-mysql=mysqldir
> and sometimes --with-mysql-include and --with-mysql-lib
> options.
> 
> > Do you need to specify a directory?  I just did --with-mysql
> >
> > At 01:14 PM 5/24/2001 -0400, Bill Tangren wrote:
> > >When I compile PHP4 (4.04pl1) with the option --with-mysql=mysqldir...
> > >
> > >I get the error
> > >
> > >'cannot find mysqlclient library under mysqldir'
> > >
> > >I did a search through the mysqsl (3.23.38) source code after I compiled
> > >it, and I don't find that library anywhere? What am I doing wrong?

        bonjour,
I compiled mysql with --prefix=/usr/local/mysql
and then php: CPPFLAGS=-I/usr/local/mysql/include/mysql ./configure
--with-mysql=/usr/local/mysql

-- 
jean-michel


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to