title: symbol versioning and dlsym
body: <p>I load the pthread library in my program using <code>dlopen</code>, and fetch handlers to <code>pthread_create</code> and <code>pthread_join</code> using <code>dlsym</code>.</p>
  
  <p>How can I ensure that both the handlers are of a compatible version? I do not care if the symbols are of new version or old versions. I just want that whatever <code>pthread_create</code> I use to work well with the <code>pthread_join</code> that I get.</p>
  
  <p>I know there is a <code>dlvsym</code> to which I can pass explicit version number, but I do not care about exact version numbers as I want my code to be independent of library versions.</p>