Hi,

If you get a message saying that libmidgard is not available, it may be that
you didn't install properly the MySQL-shared-*.rpm package.
The best and easiest way is to install MySQL from RPM. All you have to do
after is to configure and install Midgard.

Here is how I compile on my RH6.1 box:
in lib: ./configure --with-sitegroups
then make install
then ldconfig
in mod: ./configure
then make install
in php:
./configure --with-apxs --with-apache=/usr/ --with-mysql=/usr/ --with-midgar
d
then make install
then /etc/rc.d/init.d/httpd restart

Another thing to know on RH distributions is that apxs contains a bug.
you have to change the $CFG_LIBEXECDIR variable (line 81) to :
my $CFG_LIBEXECDIR = '/usr/lib/apache';

But after the first install of mod_midgard and midgard-php, you'll have to
change the httpd.conf to replace the lines:
LoadModule php3_module lib/apache/libphp3.so
LoadModule midgard_module lib/apache/mod_midgard.so
by the lines:
LoadModule php3_module modules/libphp3.so
LoadModule midgard_module modules/mod_midgard.so

If this did not solve your problem, please send the exact error message.

Best regards,
David

> > -----Original Message-----
> > From: Houben,G.J.J. (Geert) [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 23, 2000 11:09 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [midgard] HELP mod-midgard compile, redhat linux v6.1
> >
> > Hello Phil,
> >
> > I have exactely the same problem as youm if I know how to fix it, I will
> > let
> > you know.
> > And if you find out, can you send me an email too?
> >
> > Thanx
> >
> > Geert
> >
> > > -----Original Message-----
> > > From: Burness,Phil [SMTP:[EMAIL PROTECTED]]
> > > Sent: dinsdag 23 mei 2000 9:56
> > > To: '[EMAIL PROTECTED]'
> > > Subject: [midgard] HELP mod-midgard compile, redhat linux v6.1
> > >
> > > I have compiled and installed successfully midgard-lib and installed
> > > midgard
> > > data as per the install instructions. While trying to configure
> > > mod_midgard
> > > I get the following error message
> > > checking for mgd_connect in -lmidgard... no
> > >
> > > I have run ldconfig -p | grep midgard and have the following response
> > > libmidgard.so.2 (libc6) => /usr/local/lib/libmidgard.so.2
> > > libmidgard.so (libc6) => /usr/local/lib/libmidgard.so
> > >
> > > I have tried to run the configure script with the
> > > --with-midgard=/usr/local
> > > and I have set the LD_LIBRARY_PATH variable to /usr/local/lib but to
no
> > > avail.
> > >
> > > can somebody please advise what is happening?
> > >
> > > Thanks
> > >
> > > Philip Burness
> > > Principal Engineer - Foxboro GB Ltd.
> > > Tel +44(0) 1925 837267
> > > Fax +44(0) 1925 831690
> > > email [EMAIL PROTECTED]
> > >
> > > CONFIDENTIALITY NOTICE - The information contained in this transmittal
> > is
> > > confidential. It is intended for the addressee(s) stated above.  If
you
> > > are
> > > not an addressee you should not disclose, copy, circulate or in any
> > other
> > > way use the information contained in this transmission. Such
> > unauthorised
> > > use may be unlawful. If you received this transmission in error,
please
> > > contact us immediately so that we can arrange for its return.
> > >
> > >
> > >
> > > --
> > > 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]
> >
> > --
> > 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]
>
> --
> 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]


--
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