On Linux (tested on Fedora, Xapian 1.2.3), "xapian-config --libs" just lists -lxapian. On FreeBSD it also lists -lz and -luuid. Shouldn't the latter be part of the output on Linux too ? jf