title: Accessing .so libraries using dlopen() throws undefined symbol error
body: <p>I'm trying to dynamically load a camera library .so file into a Linux executable to gain access to simple camera functions. </p>
  
  <p>I'm attempting to do this by:</p>
  
  <pre><code>  if ( (newHandle = dlopen("./libCamera.so",RTLD_LAZY | RTLD_GLOBAL)) == NULL )
    {
       printf( "Could not open file : %s\n", dlerror() );   
       return 1;
    }
  </code></pre>
  
  <p>However this fails and I receive the following output:
      "Could not open file : libCamera.so: undefined symbol: <em>ZTVN10</em>_cxxabiv117__class_type_infoE"</p>
  
  <p>How do I find out what symbols it is relying on?</p>