fix ldconfig issue