warning: Corrupted shared library list
<p>Under linux, when debugging my program with gdb the following message appears:</p>

<pre><code>warning: Corrupted shared library list: 0x639130 != 0x7ffff7fd9598
</code></pre>

<p>In my program I am loading several .so files via dlopen(). After calling dlopen(), the message appears. </p>

<p>Then, when I load the next .so, the message appears again, but this time with different addresses:</p>

<pre><code>warning: Corrupted shared library list: 0x63c9e0 != 0x639130
</code></pre>

<p>I have looked for references about this message on the internet but have not found anything. There are some references about a corrupted shared library, but not about a corrupted shared library list.</p>

<p>Does anyone know what might be the cause for this?</p>

<p>I am running Ubuntu AMD64 and compile in 64bit with g++ command line options:</p>

<pre><code>-std=c++11 -fPIC
</code></pre>