This is called gummosis. Multiple possible causes. What are the leaves doing? "Appears to be dying" sounds like you are seeing problems with the foliage.