Make a pile of oil and light it on fire, then use a pteradon to lead it through the oil pile back and fourth. It should catch fire and die eventually.

More Deathworm Encountering Tips