Here's the trick: you don't actually need a ladder in Sonic Chronicles. What you need is a character who can climb, and that character is Knuckles the Echidna.
You'll find him in Mystic Ruins. Once you locate the prison where the Marauders are holding him and defeat the guards at his doors, Knuckles joins your team. From there, just head back to wherever the climb was blocking you and let him do the work.