Thank you very much. But it seems not work.
When I type
LDFLAGS="-L/usr/local/instfiles/mysql/lib -lmidgard -lmysqlclient"
./configure --with-mysql=/usr/local/instfiles/mysql
The output is
checking whether the C compiler (gcc -L/usr/local/instfiles/mysql/lib
-lmidgard
-lmysqlclient) works... no
configure: error: installation or configuration problem: C compiler cannot
creat
e executables.
When I type
LDFLAGS="-L/usr/local/instfiles/mysql/lib -lmidgard -lmysqlclient"
./configure --with-mysql=/usr/local/instfiles/mysql
The mistake is
checking MySQL location... checking for mysql_connect in
-lmysqlclient... no
*** You need the libmysqlclient library for Midgard. ***
*** Use the --with-mysql option to tell ***
*** the configure script where to look for the library. ***
configure: error: MySQL client library mysqlclient not found.
Emile Heyns wrote:
> Zhuang Chenchao wrote:
>
> > I type the command "./configure --with-mysql=/usr/local/instfiles/mysql"
> > to install it. The mysql was
> > installed under the /usr/local/instfiles/mysql/ dir.
> >
> > The output tole me that :
> > checking MySQL location... checking for mysql_connect in
> > -lmysqlclient... no
> > *** You need the libmysqlclient library for Midgard. ***
> > *** Use the --with-mysql option to tell ***
> > *** the configure script where to look for the library. ***
> > configure: error: MySQL client library mysqlclient not found.
> >
> > I checked /usr/local/instfiles/mysql/lib, there was a file named
> > libmysqlclient.a
> > Would anybody so kind to shoot the trouble for me? Thank you very much.
>
> *grin* Bang!
>
> Try
> LDFLAGS="-L/usr/local/instfiles/mysql/lib -lmidgard -lmysqlclient"
> ./configure --with-mysql=/usr/local/instfiles/mysql
>
> Bye,
> Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]