This wasn’t really an error, just a missing library (I don’t have it installed on my machine in the default location). It’s sort of odd though since audiofile is included in the platform directory so I would have expected it to be compiled. It seems that maybe the order of dependancies is not correct.
However, to get this to work, I had to compile both audiofile and esound. I then cleared out libgnome and started fresh. Everything worked fine after that.