17 lines
251 B
C
17 lines
251 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <dlfcn.h>
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
void *handle = dlopen ("reldep8mod3.so", RTLD_LAZY);
|
||
|
if (handle == NULL)
|
||
|
{
|
||
|
printf ("%s\n", dlerror ());
|
||
|
exit (1);
|
||
|
}
|
||
|
dlclose (handle);
|
||
|
abort ();
|
||
|
}
|