![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Installation & Upgrades For questions about upgrading and installation of your new Ubuntu OS. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Beans: 23
Ubuntu 9.10 Karmic Koala
|
gem install mysql ***extconf.rb failed***
I've installed rails (and it works) and now I want to be able to connect to a mysql database.
The database.yml file tells me to install the mysql drivers by typing: gem install mysql This is the error I receive: Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Any help is greatly appreciated! Thank you! |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 3
|
Re: gem install mysql ***extconf.rb failed***
Hi there,
I was experiencing the same problems myself. I looked at mkmf.log and realized that gems couldn't load the mysqlclient libraries, which led to the following solutions: If you're using MySQL 5.0: Code:
sudo apt-get install libmysqlclient15-dev Code:
sudo apt-get install libmysqlclient12-dev |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|