Troubleshooting of redis 5.5 installation on CentOS 2.6 32-bit

Source: Internet
Author: User

The installation was successful on FreeBSD7.4, but the following problems were encountered during the installation on centos5.5:
Zmalloc. o: In function zmalloc_used_memory ':
/Home/xx/redis-2.6.2/src/zmalloc. c: 223: undefined reference to _ sync_add_and_fetch_4 ′
Collect2: ld returns 1
Make [1]: *** [redis-server] Error 1
Make [1]: Leaving directory '/home/xx/redis-2.6.2/src'
Make: *** [all] Error 2

On github, a brother added CFLAGS =-march = i686 at the beginning of src/Makefile, but I tried it. Continue google, found a brother in google group edited the OPT in src/. make_settings, changed to OPT =-O2-march = i686. Make has passed, but make test has not passed. The following error is reported:

You need 'tclsh8. 5' in order to run the Redis test
So the installation of the latest tcl,: http://downloads.sourceforge.net/tcl/tcl8.5.10-src.tar.gz after installation, finally make

Related Article

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.