What's the best way to go about ...

What's the best way to go about getting a roommate and ensuring everything is split up equally? I have heard horror stories of one roomie having to foot most of the bill or chase the other roomie down for money. Is there a good way to ensure this doesn't occur?