Vincent Stoessel wrote:

> OK, this may be a lot more helpful:
> 
> 
> configure:2553: checking for executable suffix
> configure:2563: gcc -o conftest -g -O2  -I/usr/lib/glib/include 
> -I/usr/local/include/mysql -I/usr/local/include 
> -I/usr/local/include/midgard -I/usr/local/apache/include   conftest.c -l 
>    -L/usr/local/lib/mysql -lmysqlclient -L/usr/local/lib  -lexpat -lm 
> -lz -lcrypt -lglib -lmidgard 1>&5
> /usr/bin/ld: cannot find -l--library=mysqlclient
> collect2: ld returned 1 exit status
> 
> does this mean that it can not find the mysql library?

Hmmm... I don't know. The mysql lib directory is specified. What does
'midgard-config --report' say?

I'm curious about the '-l--library=mysqlclient'. I think the fact that
they're run together is related here, but I don't see it in the
compiler line.

If you execute that line by hand, do you get the same error? I can't
find the string 'checking for executable suffix' in my configure, but
I think a conftest.c that contained:

void main() {}

would suffice.

> I get the same error even when I do ./configure --with-mysql=/usr/local

I don't think that does anything.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to