This is the first of the Midgard components to be installed. The library enables Midgard applications to access the Midgard Database. There are helpful instructions in the INSTALL file in case you encounter difficulties.
$ cd midgard-lib-1.4 (directory containing midgard-lib source) $ ./configure [--prefix=/usr/local/midgard] [--with-sitegroups] --with-mysql=/usr/local/mysql --with-expat $ make # make install |
For Linux, you will need to edit /etc/ld.so.conf and add the following line to it:
/usr/local/midgard/lib |
then run the following command:
# /sbin/ldconfig |
For other operating systems you may need to add /usr/local/midgard/lib to your LD_LIBRARY_PATH
You will note that libmidgard.so.3.1.0 is installed in /usr/local/midgard/lib and also that the header file midgard.h is installed in /usr/local/midgard/include/midgard.