1 /* 2 * Public Domain 2003 Dale Rahn 3 * 4 * $OpenBSD: main.c,v 1.2 2005/09/18 19:58:50 drahn Exp $ 5 */ 6 #include <stdio.h> 7 #include <dlfcn.h> 8 9 int 10 main() 11 { 12 void *handle; 13 int ret = 0; 14 15 handle = dlopen("libac.so.0.0", RTLD_LAZY); 16 if (handle == NULL) { 17 printf("failed to open libac and it's dependancies\n"); 18 ret = 1; 19 } 20 return ret; 21 } 22