centos6.4 x64位
1用SecureCRT连接虚拟机
http://www.cnblogs.com/shuangxinye/p/6283171.html
2安装mysql
http://www.centoscn.com/mysql/2014/1211/4290.html
http://www.cnblogs.com/blogforly/p/5997553.html

3安装需要的程序

yum install -y lrzsz gcc-c++

4解决 fatal error: uuid.h: No such file or director

yum install -y uuid-c++ uuid-c++-devel (这个如果无法安装,安装下面的3个也行)

yum install e2fsprogs-devel
yum install uuid-devel
yum install libuuid-devel

5解决 warning: valgrind/valgrind.h: No such file or directory
yum install -y valgrind-devel


6解决 /usr/bin/ld: cannot find -lmysqlclient
cp -r /usr/lib64/mysql/* /usr/lib64

 

 

下面的是备份的一些东东
yum install -y boost boost-devel gcc gcc44 gcc-c++ libevent libevent-devel uuid-c++ uuid-c++-devel uuid-php uuid-dce-devel uuid-dce

posted on 2017-06-28 13:51  shuangxinye  阅读(240)  评论(0编辑  收藏  举报