---
title: HUCX编译时提示cannot install 'libucs.la t' to a directory not ending in /usr/lib的解决方法
description: "使用源码安装Hyper MPI时，执行make install命令后提示如下信息："
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpckit/trouble/hpc_hmpi_troublecase_0001.html
sourcePath: /source/zh/kunpenghpcs/hpckit/trouble/hpc_hmpi_troublecase_0001.html
indexId: bd991915b94670fe21776198f7b3ba89843306bb4dcb1235520d1f258e8c24b968
---
# HUCX编译时提示cannot install 'libucs.la t' to a directory not ending in /usr/lib的解决方法

#### 问题现象描述

使用源码安装Hyper MPI时，执行make install命令后提示如下信息：

```
libtool：error: cannot install 'libucs.la t' to a directory not ending in /usr/lib
make -j32 install
```


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

- 已进行HUCX编译操作。
- 再次执行./configure命令。


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

1. 执行以下命令，清除已有的HUCX编译。

```
make clean
```


2. 执行以下命令，进行Hyper MPI源码包安装。

```
make
```

```
make install
```
