or manually install libpq-dev, just during xindy build (you may uninstall it afterwards). Will it still end up dynamically linking the xindy executable against postgres libs? If so, that's a killer ...