Ok now when I try to config mod_midgard I get the following

root@drakaar:/usr/local/src/midgard/mod_midgard-1.4.2-1# ./configure 
 --with-mysql --with-expat --with-apxs=/usr/local/apache/bin/apxs 
 --with-midgard=/usr/local/midgard/ 
 --with-midgard-config=/usr/local/midgard/bin/
loading cache ./config.cache
checking for midgard-config... /usr/local/midgard/bin/
./configure: /usr/local/midgard/bin/: is a directory
./configure: /usr/local/midgard/bin/: is a directory
./configure: /usr/local/midgard/bin/: is a directory
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for static Apache module build... no
checking for apxs... /usr/local/apache/bin/apxs
checking for /etc/mandrake-release... no
checking for library containing g_string_new... -lglib
checking for library containing crypt... -lcrypt
checking for mgd_connect in -lmidgard... no
+++ You need the Midgard library for using mod_midgard.      +++
+++ Use the --with-midgard option to tell                    +++
+++ the configure script where to look for the library.      +++
+++ Check also that the Midgard library , the expat library  +++
+++ and the MySQL client library are on your dynamic library +++
+++ load path.                                               +++ 

*** Please look at the generated config.log. The problem is  ***
*** very often that libmysqlclient cannot be found by the    ***
*** dynamic linker, and because of that libmidgard fails to  ***
*** load.                                                    ***
configure: error: Midgard library libmidgard not found or failed to load due 
to missing symbols from other libraries 


Here is the result of ldconfig -v | grep mysql 

/usr/local/mysql/lib/mysql:
       libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 

And here is the same for midgard 

/usr/local/midgard/lib:
       libmidgard.so.5 -> libmidgard.so.5.0.0 

Here is the insides of the config.log file at the right part 

configure:901: cc -o conftest      conftest.c -lcrypt  -lglib   1>&5
configure:922: checking for mgd_connect in -lmidgard
configure:941: cc -o conftest      conftest.c -lmidgard  -lcrypt -lglib   
1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -lmidgard
collect2: ld returned 1 exit status
configure: failed program was:
#line 930 "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 stil 

Miles Scruggs

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

Reply via email to