I'm having some issues with configuring midgard lib

./configure --prefix=/usr/local/midgard --with-sitegroups
--with-mysql=/usr/local/mysql --with-expat

returns

...
checking MySQL location... /usr/local/mysql
checking Expat location... /usr
checking Repligard binary owner... mysql
checking for library containing mysql_connect... no
configure: error: You need libmysqlclient

config.log has this

onfigure:6785: checking MySQL location
configure:6853: checking Expat location
configure:6921: checking Repligard binary owner
configure:6946: checking for library containing mysql_connect
configure:6964: gcc -o conftest -Wall -g -O2  -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/mysql/include/mysql  
-L/usr/local/mysql/lib -lmysqlclient conftest.c -lm -lz -lcrypt  -lglib 
1>&5
/tmp/ccK3fJpf.o(.text+0xa): In function `main':
/usr/local/src/midgard/midgard-lib-1.4.4/configure:6960: undefined
reference to `mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6953 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_connect();

int main() {
mysql_connect()
; return 0; }
configure:6986: gcc -o conftest -Wall -g -O2  -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/mysql/include/mysql  
-L/usr/local/mysql/lib -lmysqlclient conftest.c -lmysqlclient  -lm -lz
-lcrypt  -lglib  1>&5
/tmp/ccYIINov.o(.text+0xa): In function `main':
/usr/local/src/midgard/midgard-lib-1.4.4/configure:6982: undefined
reference to `mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6975 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_connect();

int main() {
mysql_connect()
; return 0; }

I have mysql installed in /usr/local/mysql with libs in
/usr/local/mysql/lib/mysql  with symbolic links for all libmysqlclient* to
/usr/lib /usr/local/lib/ /usr/local/mysql/lib /usr/local/lib/mysql and
/usr/lib/mysql/

I can't think of any reason why it shouldn't be able to find mysql.  
Anyway If someone could point me in a dirrection

Miles Scruggs

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

Reply via email to