Ans: Almost every dog develops compacted anal glands at some point. An infection might develop as a result of a buildup in the glands. However, the buildup can leave a strong odor that’s impossible to ignore. The glands can be expressed and checked for health by your dog’s veterinarian.