error handling ldconfig