> configure:591: checking for a BSD compatible install
> configure:646: checking for apxs
> configure:681: checking for mgd_connect in -lmidgard
> configure:700: cc -o conftest   -L/usr/lib/mysql -L/usr/local/lib
> conftest.c -lmidgard   1>&5
> /usr/local/lib/libmidgard.so: undefined reference to
> `mysql_store_result'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_fetch_row'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_init'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_close'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_free_result'
> 
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_query'
> /usr/local/lib/libmidgard.so: undefined reference to `mysql_real_connect'

My bet is that you're useing the static MySQL libraries. In that case,
do:

LDFLAGS="-L/usr/lib/mysql -lmidgard -lmysqlclient" ./configure ...

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]

Reply via email to