• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

jemalloc/jemalloc.h: No such file or directory – Redis

July 7, 2015 by Sharad Chhetri

Recently while installing redis from source, met with error – zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory . It seems the jemalloc is the dependency which is not allowing redis to compile.

NOTE: We have already install redis 3.0 from source on Ubuntu 14.04 / CentOS 7 / RHEL 7 , where we have written step by step method.

To install redis , given below dependencies are require :
1. jemalloc
2. hiredis
3. lua
4. linenoise

Here, we will install all above dependencies for Redis . Because to address the solution in this post, here we are only writing the steps up to dependencies compilation.

wget http://download.redis.io/releases/redis-3.0.2.tar.gz
tar -xvzf redis-3.0.2.tar.gz
cd redis-3.0.2
cd deps
make hiredis lua jemalloc linenoise

For complete installation steps of Redis, read our this post – Install redis 3.0 from source on Ubuntu 14.04 / CentOS 7 / RHEL 7

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  2. How to install redis server on CentOS 7 / RHEL 7
  3. Install redis 3.0 from source on Ubuntu 14.04 / CentOS 7 / RHEL 7
  4. NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file
  5. plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
  6. Your data directory and files are probably accessible from the internet because the .htaccess file does not work owncloud
  7. SCP file and directory in linux and Unix like operating system
  8. hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory
  9. XAMPP : Mysql # 2002 – No such file or directory
  10. /usr/bin/env: node: No such file or directory

Filed Under: Linux Tagged With: redis

Reader Interactions

Comments

  1. Robert Brisita says

    March 28, 2016 at 9:01 pm

    The error is due to dirty make files. Cleaning the distribution or removing the unpacked files will fix it

    $ make distclean

    • sharad chhetri says

      March 29, 2016 at 1:39 pm

      Thank you Robert,

      Your help is much appreciated. Keep doing good work ๐Ÿ™‚

      Regards
      Sharad

    • Orlin Hristov says

      November 1, 2017 at 3:21 pm

      Thank you Robert,

      That worked!

      Regards,
      Orlin.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

sed: -e expression #1, char 24: Invalid range end

WordPress host IP changed not able to open wp-admin and site page looks scattered

How to convert rpm file into deb file

Non interactive ,without typing password do ssh to Server : By sshpass

30 useful Linux terminal keyboard shortcuts

Install and optimize the png file by using optipng

curl command to check the http status

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy