Andrew J Erickson wrote:

> ice-weasel:/usr/local/lib/mysql>l
> total 2224
> -rw-r--r--  1 root  wheel   19136 Jun  3 17:44 libdbug.a
> -rw-r--r--  1 root  wheel   42128 Jun  3 17:44 libheap.a
> -rw-r--r--  1 root  wheel   17524 Jun  3 17:44 libmerge.a
> -rw-r--r--  1 root  wheel  300440 Jun  3 17:44 libmyisam.a
> -rw-r--r--  1 root  wheel   28136 Jun  3 17:44 libmyisammrg.a
> -rw-r--r--  1 root  wheel  237824 Jun  3 17:44 libmysqlclient.a
> -rw-r--r--  1 root  wheel     638 May  9 21:14 libmysqlclient.la
> -rw-r--r--  1 root  wheel   23472 Jun  3 17:44 libmystrings.a
> -rw-r--r--  1 root  wheel  308456 Jun  3 17:44 libmysys.a
> -rw-r--r--  1 root  wheel  137464 Jun  3 17:44 libnisam.a
> 
> > Set the CFLAGS, LIB and LIBS variables to the same values, and try
> > again.
> 
> Okay, I set LDFLAGS, CFLAGS, LIB, and LIBS to "-L/usr/local/
> -L/usr/local/mysql -L/usr/local/lib" and configure still fails. Here are
> the offending lines in config.log.

Try:
LIBS="-L/usr/local/mysql/lib -lmysqlclient" LIB=$LIBS LDFLAGS=$LIBS CFLAGS=$LIBS 
./configure

> working. Should I reinstall mysql?

No need. But using non-shared libraries allways will be a hassle.

Emile


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

Reply via email to