Centos gearmand-1.1.12 Installation

Source: Internet
Author: User

Install a bunch of dependencies before installing gearmand, as shown below:

(Boost versions must be later than 1.39)

Yum install boost-devel

Yum install mysql-devel

Yum install gperf

Yum install libevent

After installing the dependency, execute./configure, and then make encounters a pitfall that troubles me for a long time. An error is reported.

/Usr/bin/ld: Bin/gearadmin: Undefined reference to symbol' [email protected] @ glibc_2.2.5'

/Usr/bin/ld: Note: '[email protected] @ glibc_2.2.5' is defined in DSO/lib64/libpthread. so.0 so tr

/Lib64/libpthread. so.0: cocould not read symbols: Invalid operation

Collect2: Error: LD returned 1 exit status

Make [1]: *** [bin/gearadmin] Error 1

Make [1]: Leaving directory '/home/web_tar/gearmand-1.1.12'

Make: *** [all] Error 2

Google looked at it. This is a common solution. Open./makefile,

Set

Ldflags =-L/usr/lib64/MySQL/

Change

Ldflags =-L/usr/lib64/MySQL/-lpthread

Make is OK.

Centos gearmand-1.1.12 Installation

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.