Finally got GUI building in Ubuntu.  Not sure what the problem is.  Unfortunetly, this means that I am stuck with shared objects for a while rather than static libraries.