Set error message when linking libpds failed