I'm working on porting a C++ application to FreeBSD. It's compiling, but a call to dlopen() is failing. Here's a code snippet.
static void *lib=NULL;
lib=dlopen(filename,RTLD_NOW);
const char* blah;
if(blah=dlerror()) {
info(filename);
cout << blah << "\n";
}
The output is...