tried example from ulrich drepper