title: Python runserver error loading MySQLDB module: undefined symbol: mysql_kill
body: <p>I'm receiving the following when trying to <code>runserver</code> after provisioning a VM using Puppet:</p>
  
  <p><code>File "/usr/local/lib/python2.7/dist packages/django/db/backends/mysql/base.py", line 17, in &lt;module&gt; raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
  django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: /usr/local/lib/python2.7/dist-packages/_mysql.so: undefined symbol: mysql_kill</code></p>
  
  <p>I found <a href="http://petrkout.com/linux/a-solution-to-the-python2-7site-packages_mysql-so-undefined-symbol-mysql_kill-error/" rel="nofollow">this discussion</a>, but the suggestion there didn't help. I'd really appreciate any assistance! <code>pip freeze</code> reveals that I have <code>MySQL-python==1.2.5</code> installed. I also have <code>libmysqlclient-dev</code> installed via <code>apt-get</code>. Installing <code>python-mysqldb</code> via <code>apt-get</code> doesn't seem to have any effect on this problem. </p>