您的位置:首页 > 运维架构 > Linux

centos环境下编译程序提示缺少头文件

2017-08-09 20:01 295 查看
如编译时提示 microhttpd.h:No such file or directory
 yum provides *microhttpd.h*已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.ustc.edu.cn * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comlibmicrohttpd-devel-0.9.33-2.el7.i686 : Development files for libmicrohttpd源    :base匹配来源:文件名    :/usr/include/microhttpd.hlibmicrohttpd-devel-0.9.33-2.el7.x86_64 : Development files for libmicrohttpd源    :base匹配来源:文件名    :/usr/include/microhttpd.h
这样就能找到的该头文件的包。安装对应的包就好了。
yum install libmicrohttpd-devel-0.9.33-2.el7.x86_64
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐