I actually don't know how to do that either :( If you have a solution, I can test it out. I've manually linked into postgres' own lib directory for my own purposes.