use gsed with -i / correct ldconfig path