CentOS6.4 bug During MySQL Installation

Source: Internet
Author: User
Tags openldap
Install MySQL in CentOS6.4 and download a source code package. It is very easy to download. tar,. configure, make, and makeinstall. This is not the first time.

Install MySQL in CentOS 6.4 and download a source code package. It is very simple, tar,./configure, make, and make install. This is not the first time.

Install MySQL in CentOS 6.4 and download a source code package. It feels very simple, tar ,. /configure, make, and make install are four classic steps. This is not the first time, but today is an old error. The first step is. /configure:

Checking for tgetent in-ltermcap... no

Checking for tgetent in-ltinfo... no

Checking for termcap functions library... configure: error: No curses/termcap library found

But I installed all the gcc, so I saw a lot of yum installation environments on the Internet, and then I went to security with a dumb.

Yum installcmake makegcc gcc-c ++ libjpeg-devel libpng \

Libpng-devel freetype-devel libxml2 libxml2-devel zlib-devel glibc \

Glibc-devel glib2 glib2-devel bzip2bzip2-devel ncurses-devel curl \

Curl-devel e2fsprogs e2fsprogs-devel krb5-devel libidn-devel openssl expat-devel \

Openssl-devel nss_ldap openldap-devel openldap-clients openldap-servers unixODBC-devel \


Libxslt-devel libevent-devel libtool-ltdl bison libtool pcre-devel zip unzip gmp-devel gd-devel

After a few days of hard work, I finally finished writing, but my network yum didn't have so many packages, and there was half of them with an error, and I couldn't find another yum. So, for the first time, I failed.

Then I checked on the Internet, but the ncurses installation package is missing, and then I will:

Yum list | grep ncurses

Yum-y install ncurses-devel

I thought it was solved, but who knows that my network yum does not have this package? Today, I am so sad .......

Then I can only find the tar package to install it.

Wget
Tar zxvf ncurses-5.6.tar.gz
Cd ncurses-5.6
./Configure-prefix =/usr -- without-ada -- enable-overwrite

Make
Make install
Then re-compile Mysql for installation.

However:

Tic: symbol lookup error: tic: undefined symbol: _ nc_check_termtype2
? Tic cocould not build/usr/share/terminfo
Make [1]: *** [install. data] Error 1
Make [1]: Leaving directory '/lamp/ncurses-5.6/misc'
Make: *** [install] Error 2

I still reported an error, but now I am all numb. It's all about bugs, and there aren't only one or two of them. So I went on to check that Huang Tian was no longer interested in downloading a new version, such as ncurses 5.9. The installation method can completely follow the four steps of the classic to solve the problem that the tar package cannot be installed.

./Configure -- with-shared -- without-debug -- without-ada -- enable-overwrite

Wget

-------------------------------------- Split line --------------------------------------

Install MySQL in Ubuntu 14.04

MySQL authoritative guide (original book version 2nd) Clear Chinese scan PDF

Ubuntu 14.04 LTS install LNMP Nginx \ PHP5 (PHP-FPM) \ MySQL

Build a MySQL Master/Slave server in Ubuntu 14.04

Build a highly available distributed MySQL cluster using Ubuntu 12.04 LTS

Install MySQL5.6 and Python-MySQLdb in the source code of Ubuntu 12.04

MySQL-5.5.38 universal binary Installation

-------------------------------------- Split line --------------------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.