14 /* Load ltglobalmod1 in the global namespace. */
15 h = dlopen ("ltglobmod1.so", RTLD_GLOBAL | RTLD_LAZY);
18 printf ("%s: cannot open %s: %s",
19 __FUNCTION__, "ltglobmod1.so", dlerror ());
23 /* Call bar. This is undefined in the DSO. */
24 puts ("about to call `bar'");
28 printf ("bar returned %d\n", res);