9 mallopt (M_PERTURB, 0xaa);
14 h = dlopen ("unload4mod1.so", RTLD_LAZY);
17 puts ("1st dlopen failed");
20 fn = dlsym (h, "foo");
23 puts ("dlsym failed");
29 printf ("foo (10) returned %d != 28\n", n);
33 h = dlopen ("unload4mod3.so", RTLD_LAZY);
34 fn = dlsym (h, "mod3fn2");
37 puts ("second dlsym failed");
43 printf ("mod3fn2 (10) returned %d != 22\n", n);