I found an answer to the -lpth build error. As I said previously this has been asked many times on the list by others without a satisfactory answer, so even though it turns out to be deceptively simple, I thought I'd post it: ln -s /usr/local/lib/libpth.a /lib/libpth.a