my 5 year old has just gotten over 2 1/2 years of the not pooping problem. Thinking back and things I had read on this web site, I found many childern with the same problem and it actually has a name, which I can't remember now.
We went through the fruit and pear juice but nothing helped. When my son felt he had to go he would go in another room or behindsomething and hold it in, then when it would come out it would be hard and his underware a mess, we tried everything, sticker charts, bribery, nothing worked. His doctor finally put him on marlax RX, she started him out on 2 teaspoons a day mixed with fuild, it really didn't work. Now we had another problem, he had held it for so long, those little musules in the rectum didn't know how to release and push. So now he is on 2 tablespoons a day and getting if we miss a dose it's OK.
It started because as a infant (please excuse my spelling) he would have a hard stool sometimes we thought it was change from baby food to reg. food, so in came the pear juice, anyway he got so bad he cried when the poop came out and all I could do was sit him in a warm tub to help relax him enough for that long rock turd to come out. I created another problem at that point. He would scream and cry at the top of his lungs at bath time, tub ment poop, which ment pain. So the holding got worse. Finally we found the answer, we started mixing the meralax with milk and choc instant breakfast, it does taste nasty with juice. Now we just we plan milk. Anyway he has it at night with dinner and everyday when my son and husband get home from pre school and work they sit on the pot, same time every day, My son now goes in and poops most days on his own, but he knows, do not flush till momma or popa has a look at it, that is a rule because we need to seee that he is going a proper amount, alot to them is a little tiny turd. Check with your doctor about the meralax and if your insurance co pay, or don't pay is to high, Costco has it at the best price.
Your little girls mind and body has to learn it don't hurt to poop and that pooping is a good and wonderful thing.
And of course, we have to do the poopy dance and yell and scream, good job, you did it, I am so happy, I know it's not a pleasent part of the body's function, but you have to make it one.
Good luck