当前位置: 技术问答>linux和unix
Centos下安装apache提示error: cannot run C compiled programs.
来源: 互联网 发布时间:2016-03-26
本文导语: 安装apache时,有两个错误提示,如下: 1. error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory 2.error: cannot run C compiled programs. 各位高手有碰到这种情况的吗?该...
安装apache时,有两个错误提示,如下:
1. error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
2.error: cannot run C compiled programs.
各位高手有碰到这种情况的吗?该如何解决?
----------------------------------------------------------------------------------
configure:4352: checking whether the C compiler works
configure:4362: ./a.out
./a.out: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
configure:4365: $? = 127
configure:4374: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
1. error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
2.error: cannot run C compiled programs.
各位高手有碰到这种情况的吗?该如何解决?
----------------------------------------------------------------------------------
configure:4352: checking whether the C compiler works
configure:4362: ./a.out
./a.out: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
configure:4365: $? = 127
configure:4374: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
|
安装mysql开发包了吗?
|
你没有安装C语言编译器吧?
就是gcc
建议你用centos的系统光盘,把gcc这些开发包装进去。
就是gcc
建议你用centos的系统光盘,把gcc这些开发包装进去。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。