---
title: "安装MySQL线程池插件时提示numa.h: No such file or directory的解决方法"
description: "安装MySQL 8.0.25线程池插件过程中执行make命令时，提示“numa.h: No such file or directory”。具体报错如下："
url: "https://www.hikunpeng.com/document/detail/zh/kunpengdbs/troubleshooting/trouble/boostkit_database_troublecase_023.html"
---

# 安装MySQL线程池插件时提示numa.h: No such file or directory的解决方法

#### 问题现象描述

安装MySQL 8.0.25线程池插件过程中执行make命令时，提示“numa.h: No such file or directory”。具体报错如下：


#### 关键过程、根本原因分析

若MySQL程序在编译时未安装numactl依赖，将导致无NUMA库加载的MySQL程序在执行make命令时报错。


#### 结论、解决方案及效果

1. 安装numactl库。
  1 yum install -y numactl numactl-devel*

2. 重新编译MySQL，具体操作请参见《MySQL 8.0.x 移植指南(https://www.hikunpeng.com/document/detail/zh/kunpengdbs/ecosystemEnable/MySQL/kunpengmysql8017_02_0008.html)》。
