我正在尝试捆绑安装,但中途出现错误:
Make sure that `gem install mysql -v '2.9.1'` succeeds before bundling.
and while trying to do as suggested, again dependencies arrise..
libmysqlclient-dev : Depends: libmysqlclient18 (= 5.5.35+dfsg-1ubuntu1) but 5.5.37-0ubuntu0.13.10.1 is to be installed
umes@umes-pc:/var/www/MachingShop_portal_v2$ sudo apt-get install libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmysqlclient-dev : Depends: libmysqlclient18 (= 5.5.35+dfsg-1ubuntu1) but 5.5.37-0ubuntu0.13.10.1 is to be installed
E: Unable to correct problems, you have held broken packages.
最佳答案
使用此命令并重试。
sudo apt-get install default-libmysqlclient-dev
关于ruby-on-rails - libmysqlclient-dev 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27100742/