giải pháp:jemalloc/jemalloc.h: No such file or directory
Tài liệu tham khảo
jemallocThông báo lỗi
zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory
Giải pháp
Đầu tiên, chúng ta cần cài đặt jemalloc trước, có thể sử dụng lệnh YUM để cài đặt trực tiếp. Sau đó thêm các thông số khi thực hiện. Nội dung cụ thể có thể tham khảo ví dụ sau.
yum -y install jemalloc
make MALLOC=jemalloc