12 h
= dlopen ("reldepmod1.so", RTLD_LAZY
);
15 printf ("cannot open reldepmod1.so in %s: %s\n", __FILE__
, dlerror ());
19 fp
= dlsym (h
, "foo");
22 printf ("cannot get address of foo in global scope: %s\n", dlerror ());
30 printf ("failure when closing h in %s: %s\n", __FILE__
, dlerror ());