Many gyms will allow chalk if you're reasonably discrete and neat about it. A rock-climber's chalk bag and sock can usually pass. If not that, there's always liquid chalk.