added error message for loading shared object files