Installing mysql (2.8.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mlib
--without-mlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-zlib
--without-zlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-socketlib
--without-socketlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-nsllib
--without-nsllib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mygcclib
--without-mygcclib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in /home/naitnix/.bundler/tmp/27806/gems/mysql-2.8.1 for inspection.
Results logged to /home/naitnix/.bundler/tmp/27806/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
An error occured while installing mysql (2.8.1), and Bundler cannot continue.
Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling.
解决办法:
sudo apt-get install libmysqlclient15-dev
分享到:
相关推荐
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby26/lib/ruby/gems/2.6.0/gems/mimemagic-0.3.10/ext/mimemagic C:/Ruby26/bin/ruby.exe -rrubygems C:/Ruby26/lib...
升级到最新的mac os Mavericks。装json出现错误: ... ERROR: Failed to build gem native extension. /usr/local/var/rbenv/versions/2.0.0-p247/bin/ruby extconf.rb creating Makefile make “DESTDIR=”
1.8.4. MySQL Extensions to Standard SQL 1.8.5. MySQL Differences from Standard SQL 1.8.6. How MySQL Deals with Constraints 1.9. Credits 1.9.1. Contributors to MySQL 1.9.2. Documenters and translators ...
Use MySQL with Python - M. MOka (mobi,pdf 高清英文原版) This book demonstrates how to boost the productivity of your Python applications by integrating them with the MySQL database server, the world...
running build_ext building 'fasttext_pybind' extension error: Microsoft Visual C++ ...Failed to build fasttext Installing collected packages: fasttext Running setup.py install for fasttext ... error
After installing, you need to link the native library. You can either: Link native library with react-native link, or Link native library manually Both approaches are described below. Link Native ...
The security settings could not be applied to the database because the connection has failed with the following error. Error Nr. 1045 Access denied for user 'root'@'localhost' (using password: YES) ...
Visual Studio 2010 ships with version 4 of the .NET Framework, the fi rst release to include Parallel Extensions. C# 4 and .NET Framework 4 allow you to shift to a modern task-based programming model ...
Error installing jekyll: ERROR: Failed to build gem native extension. gem install jekyll Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... ERROR: ...
### MySQL 5.7在Windows系统上的安装与配置教程 #### 概述 MySQL是由Oracle公司维护的一个开源的关系型数据库管理系统。它以其性能稳定、功能强大而被广泛应用于各种应用场景中。本文档主要介绍了如何在Windows...
Installing pg 0.18.4 with native extensionsGem::Ext::BuildError: ERROR: Failed to build gem native extension.安装要使该站点在本地运行: git clone git@github....
The easiest way to learn PHP ...PHP & MySQL: Novice to Ninja, 6th Edition is a hands-on guide to learning all the tools, principles, and techniques needed to build a professional web application using ...
标题 "react-native init AwesomeProject 很慢" 涉及的是在使用React Native框架初始化新项目时遇到的性能问题。React Native是Facebook开发的一个开源框架,它允许开发者使用JavaScript和React来构建原生移动应用...
MySQL Administrator's Guide is the official guide to installing, administering and working with MySQL 5.0 and MySQL databases. Starting with the basics, you will learn to store, manage and retrieve ...
You'll not only receive extensive introductions to the core features of PHP, MySQL, and related tools, but you'll also learn how to effectively integrate them in order to build robust data-driven ...
MySQL是世界上最受欢迎的开源数据库...本教程的"Mysql Installing.pdf"文件应该包含了这些步骤的详细指南,对于初学者来说是一份宝贵的资源。通过跟随教程,您将能够顺利安装MySQL,并开始探索这个强大的数据库世界。
### MySQL安装与启动详解 #### 一、MySQL简介 MySQL是全球最受欢迎的开源数据库系统之一。尽管它功能强大,但其设置过程简单易懂。本文将详细介绍如何在不同平台上安装和启动MySQL,并介绍如何通过`mysql`客户端...
MySQL Administrator's Guide is the official guide to installing, administering and working with MySQL 5.0 and MySQL databases. Starting with the basics, you will learn to store, manage and retrieve ...
Coverage of NuSphere MySQL: Due to the growing popularity of the NuSphere MySQL package, this book covers its enhancements and how to install and develop with NuSphere MySQL. Running database ...