5 extern int call_me (void);
14 h
= dlopen ("reldepmod1.so", RTLD_LAZY
);
17 printf ("cannot open reldepmod1.so in %s: %s\n", __FILE__
, dlerror ());
21 fp
= dlsym (h
, "foo");
24 printf ("cannot get address of foo in global scope: %s\n", dlerror ());
32 printf ("failure when closing h in %s: %s\n", __FILE__
, dlerror ());