---
title: 运行configure时报错
description: "运行configure时报错，报错信息为：“error: external libxc support does not work”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0080.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0080.html
indexId: 49d845eb0026118337dd5ace42322a5afa6a4fd5d4bcc7a2a0dfd4be7006f4db74
---
# 运行configure时报错

#### 问题现象描述

运行configure时报错，报错信息为：“error: external libxc support does not work”。


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

--with-libxc-libs=未按照顺序写。


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

在编译安装(https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengabinit_02_0011.html)后面按顺序加：--with-libxc-libs=-lxcf90 -lxc---。
