In the library with the locked door, have you taken the stairs in the room to the north (ie the door opened by the lever) to get to the maze level? If so, how far did you get past there?
You can download the
Beyond Divinity Strategy Guide and read the section for the place where you are stuck. Alternately, if you want to avoid spoilers (or the temptation to read ahead), describe how far you have gotten and I can post a specific screenshot or description of what you need to do next.