title: "cannot find -lssl; cannot find -lcrypto" when installing mysql-python?
body: <p>I'm struggling to install the mysql-python pip either systemwide or in a venv on Ubuntu 14.04 with MariaDB 10 installed. Also tried with MariaDB 5.5 and getting the same error. I don't have this issue with vanilla mysql-server installed.</p>
  
  <p>I have the following installed via apt-get:</p>
  
  <ul>
  <li>build-essential</li>
  <li>python-dev</li>
  <li>libmariadbclient-dev (thats the MariaDB replacement for libmysqlclient-dev)</li>
  <li>python-mysqldb</li>
  </ul>
  
  <p>Originally I thought this was an issue installing this into a venv but I've subsequently noticed mysql-python won't install systemwide either. Below are the cmds I used to install in a venv.</p>
  
  <pre><code>virtualenv venv
  . venv/bin/activate
  pip install mysql-python==1.2.5
  
  In file included from _mysql.c:44:0:
  /usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
   #define HAVE_WCSCOLL
  ^
  In file included from /usr/include/python2.7/pyconfig.h:3:0,  
                   from /usr/include/python2.7/Python.h:8,
                   from _mysql.c:29:
  /usr/include/x86_64-linux-gnu/python2.7/pyconfig.h:911:0: note: this is the location of the     previous definition
   #define HAVE_WCSCOLL 1
  
  ^x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions     -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib/x86_64-linux-gnu -lmariadbclient_r -lpthread -lz -lm -lssl -lcrypto -ldl -o build/lib.linux-x86_64-2.7/_mysql.so
  /usr/bin/ld: cannot find -lssl
  /usr/bin/ld: cannot find -lcrypto
  collect2: error: ld returned 1 exit status
  
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  Cleaning up...
  Command /root/env/bin/python -c "import setuptools, tokenize;__file__='/root/env/build/mysql-    python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EyhO2v-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/env/include/site/python2.7 failed with error code 1 in /root/env/build/mysql-python
  Storing debug log for failure in /root/.pip/pip.log
  </code></pre>