Archive has no index; run ranlib to add one in Dev C++
<p>I converted <code>mysqlclient.lib to mysqlclient.a</code> using <strong>ar</strong> command </p>

<pre><code>ar rcs mysqlclient.a mysqlclient.lib
</code></pre>

<p>now am keep getting that error    <code>Archive has no index; run ranlib to add one</code> </p>

<p>I run <strong>ranlib</strong> on <code>mysqlclient.a</code>  but still getting the above no index error :( do not know how to fix this , so need help </p>

<pre><code>ranlib libmysqlclient.a
</code></pre>

<p>am using  dev c++ for my project</p>
