study/linux/centos/centos问题总结.md
2020-02-23 22:23:40 +08:00

24 lines
517 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 简介
总结在使用centos的过程遇到的问题
## unix高级编程`apue.h` 找不到问题
在[http://www.apuebook.com/ ](http://www.apuebook.com/)网站根据自己书的版本下载对应的源码并且解压编译
```sh
make
```
编译完成之后执行
```sh
sudo cp ./include/apue.h /usr/local/include/
sudo cp ./lib/libapue.a /usr/local/lib/
```
### 编译出现barrier.c:.text+0x80)heapsort未定义的引用
在终端中下执行
```sh
sudo yum install libbsd libbsd-devel -y
```