Hello,
I've been trying to get Midgard installed in Apple's OS X, but I've run
into the same problem discussed on this list previously. Here's a link to
the post:
http://www.geocrawler.com/archives/3/527/2000/4/0/3661958/
MySQL is installed correctly and the libraries are in /usr/local/lib and
/usr/local/mysql/lib. I have attempted specifying the LDFLAGS in the
environment as has been previously suggested, along with the standard
--with-mysql=/usr/local/mysql, but nothing seems to work. Has anyone
figured out the problem? The output of my config.log follows.
Thanks,
Andy
configure:1244: checking for mgd_connect in -lmidgard
configure:1263: cc -o conftest -g -O2 -I/usr/local/include
-I/sw/lib/glib/include -I/sw/include conftest.c -lmidgard -L/$
/usr/bin/ld: Undefined symbols:
_mysql_close
_mysql_errno
_mysql_error
_mysql_fetch_field_direct
_mysql_fetch_row
_mysql_free_result
_mysql_init
_mysql_insert_id
_mysql_num_fields
_mysql_num_rows
_mysql_query
_mysql_real_connect
_mysql_select_db
_mysql_stat
_mysql_store_result
configure: failed program was:
#line 1252 "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 mgd_connect();
int main() {
mgd_connect()
; return 0; }
---------------------------------------------------------------------------
Andrew Erickson | http://www.umn.edu/~eric0570
ph-school: 612.339.7887 | mailto:[EMAIL PROTECTED]
ph-home: 507.332.8605 | mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]