Various features of Midgard 1.4 use XML to store data (Repligard and Filetemplates, for example), therefore, Midgard depends on the expat library which provides an API for interacting with XML files.
You can obtain expat-lib from the following site:
http://expat.sourceforge.net/
the Midgard Libraries fail to compile without it.
$ cd expat-1.95.1 $ ./configure $ make $ make check # make install
Configure sets the install path to /usr/local by default.
You will need to edit /etc/ld.so.conf and add the following line to it:
/usr/local/lib
then run the following command:
# /sbin/ldconfig
Obviously, if you added /usr/local/lib in the previous section, then you will only need to run /sbin/ldconfig.