---
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
sourcePath: /source/zh/kunpengdbs/troubleshooting/trouble/boostkit_database_troublecase_023.html
indexId: 04ece874bdcac031bb18e294aa8291cd5afa42fa9537e38d53f2b192d984af5a84
---
# 安装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)》。
