fix ldconfig and install pip