fix test. dlsym(RTLD_DEFAULT,...) should not see symbols in objects openedwithout RTLD_GLOBAL.
return 1 instead of -1 on error. noticed by theo.
branches: 1.1.1;Initial revision