当前位置:操作系统 > Unix/Linux >>

在gentoo linux上安装vmware

不知道该搞点什么,于是就想装个虚拟机,然后在linux里面跑windows。安装过程比较简单:

#emerge vmware-workstation
#/opt/vmware/workstation/bin/vmware-config.pl #配置vmware的网络等设置
#/etc/init.d/vmware start #会提示你已经启动了,不用reboot就行
#vmware #用root运行试试
#chown -Rv root:vmware /opt/vmware #更改权限,蜗牛提示
#chmod u+s /opt/vmware/workstation/lib/bin/vmware-vmx
#gpasswd -a yagami vmware #将普通用户添加到vmware组

我的运行的时候提示警告:/opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

用如下办法解决:
#cd /opt/vmware/workstation/lib/lib/
#mv libpng12.so.0/libpng12.so.0 libpng12.so.0/libpng12.so.0.disabled
#ln -sf /usr/lib/libpng12.so.0 libpng12.so.0/libpng12.so.0

之后还是会警告:/opt/vmware/workstation/lib/bin/vmware: error while loading shared libraries: libexpat.so.0: cannot read file data: Error 21

用如下办法运行可以解决问题:
#unset GTK_MODULES
#vmware
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,