B.H.
Yes, I broke a rib on my right side and it took around 6 weeks before it stopped hurting so badly. It was weird how I could lay right on it and it would stop hurting, but when I put pressure on it, as I laid down, and when I got up, that motion made me want to throw-up. Had no pain of any sort after it healed though.
Did you by any chance damage the muscles or chest wall when you broke your ribs?
Do call your doctor, he/she can let you know why you have pain.
Hope you feel better soon!