| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> | ||||
| 3 | #include <dlfcn.h> | ||||
| 4 | |||||
| 5 | int | ||||
| 6 | main (void) | ||||
| 7 | { | ||||
| 8 | void *handle = dlopen ("reldep8mod3.so", RTLD_LAZY); | ||||
| 9 | if (handle == NULL) | ||||
| 10 | { | ||||
| 11 | printf ("%s\n", dlerror ()); | ||||
| 12 | exit (1); | ||||
| 13 | } | ||||
| 14 | dlclose (handle); | ||||
| 15 | abort (); | ||||
| 16 | } | ||||