I am attempting to install the programs, but have run into a snag. When
I attempt to configure the mod_midgard I get an error about not being
able to find the midgard library. However, I have followed the
instructions available on the site. Also, the install notes claim that
the issue is most likely an ldconfig problem. But both libraries are
available as you can see below.
Does anyone have any suggestions on this?
Thanks
Dave
>From config.log:
---------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:591: checking for a BSD compatible install
configure:646: checking for apxs
configure:681: checking for mgd_connect in -lmidgard
configure:700: gcc -o conftest 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'
collect2: ld returned 1 exit status
configure: failed program was:
#line 689 "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. */
/* ac_lin: "${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5" */
char mgd_connect();
int main() {
mgd_connect()
; return 0; }
Other Information
--------------------------------------------
ldconfig -p | egrep '(midgard|mysql)'
libmysqlclient.so.6 (libc6) => /usr/local/lib/mysql/libmysqlclient.so.6
libmysqlclient.so (libc6) => /usr/local/lib/mysql/libmysqlclient.so
libmidgard.so.2 (libc6) => /usr/local/lib/libmidgard.so.2
libmidgard.so (libc6) => /usr/local/lib/libmidgard.so
--
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]