title: How to dlopen jemalloc dynamic library
body: <p>I am trying to <code>dlopen</code> memory allocators at runtime. 
  I have no problem with <code>libc</code>, <code>tcmalloc</code> and <code>tbbmalloc</code>. But trying to <code>dlopen</code> <code>jemalloc</code> results in the following error (caught via <code>dlerror</code>) : </p>
  
  <p><code>/path/to/lib/libjemalloc.so: cannot allocate memory in static TLS block</code> </p>
  
  <p>Do you have any idea of the reason for this error and hence how I could tackle this ?</p>