I can't use the mysql ruby gem because I get this error:
Incorrect MySQL client library version! This gem was compiled for 5.6.15 but the client library is 5.5.34. (RuntimeError)
apt-get is installing libmysqlclient-dev-5.5
$ sudo apt-get install libmysqlclient-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libmysqlclient-dev 0 upgraded, 1 newly installed, 0 to remove and 41 not upgraded. Need to get 1,397 kB of archives. After this operation, 5,629 kB of additional disk space will be used. Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient-dev amd64 5.5.34-0ubuntu0.12.04.1 [1,397 kB] Fetched 1,397 kB in 0s (11.8 MB/s) Selecting previously unselected package libmysqlclient-dev. (Reading database ... 63296 files and directories currently installed.) Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.5.34-0ubuntu0.12.04.1_amd64.deb) ... Processing triggers for man-db ... Setting up libmysqlclient-dev (5.5.34-0ubuntu0.12.04.1) ...
How do I install version 5.6 of libmysqlclient-dev?
I'm using Ubuntu 12.04.