opensuse安装vmware“DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.”

安装vmware workstation pro 失败,日志如下:

2019-06-16T11:33:56.806+08:00| host-17156| I125: Log for VMware Workstation pid=17156 version=15.1.0 build=build-13591040 option=Release
2019-06-16T11:33:56.806+08:00| host-17156| I125: The process is 64-bit.
2019-06-16T11:33:56.806+08:00| host-17156| I125: Host codepage=UTF-8 encoding=UTF-8
2019-06-16T11:33:56.806+08:00| host-17156| I125: Host is Linux 4.12.14-lp151.28.4-default openSUSE Leap 15.1
2019-06-16T11:33:56.794+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
2019-06-16T11:33:56.794+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-06-16T11:33:56.794+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
2019-06-16T11:33:56.794+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2019-06-16T11:33:56.794+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2019-06-16T11:33:56.794+08:00| host-17156| I125: PREF Optional preferences file not found at /root/.vmware/preferences. Using default values.
2019-06-16T11:33:56.956+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
2019-06-16T11:33:56.956+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-06-16T11:33:56.956+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
2019-06-16T11:33:56.956+08:00| host-17156| I125: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
2019-06-16T11:33:56.956+08:00| host-17156| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
 

内事不决问题度娘,不过未找到解决方案。

在查看/var/log/vmware-installer 日志时发现记录如下:

[2019-06-16 11:33:57,165] Installer running.
[2019-06-16 11:33:57,166] Command Line Arguments:
[2019-06-16 11:33:57,166] ['/tmp/vmis.tKq75p/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '', '--install-component', '/tmp/vmis.tKq75p/install/vmware-installer', '--install-bundle', '/home/chawk/\xe4\xb8\x8b\xe8\xbd\xbd/./VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle', '']
[2019-06-16 11:33:57,188] /tmp/vmis.tKq75p/install/vmware-installer/python/pygtk/gtk/__init__.py:69: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)

[2019-06-16 11:33:57,189] Unable to initialize gtk: could not open display
[2019-06-16 11:33:57,190] Could not set up curses...  Falling back on null term type.
[2019-06-16 11:33:57,194] UI Initialization failed.
Traceback (most recent call last):
  File "/tmp/vmis.tKq75p/install/vmware-installer/vmware-installer.py", line 293, in main
    ui.Initialize(options.ui)
  File "/tmp/vmis.tKq75p/install/vmware-installer/vmis/ui/__init__.py", line 77, in Initialize
    exec 'from vmis.ui.null import *' in globals()
  File "", line 1, in
  File "/tmp/vmis.tKq75p/install/vmware-installer/vmis/ui/null.py", line 13, in
    from vmis.ui import console
  File "/tmp/vmis.tKq75p/install/vmware-installer/vmis/ui/console.py", line 9, in
    import curses
  File "/tmp/vmis.tKq75p/install/vmware-installer/python/lib/curses/__init__.py", line 15, in
    from _curses import *
ImportError: libncursesw.so.5: 无法打开共享对象文件: 没有那个文件或目录
 

原因定位为ncurses 缺少,但新的opensuse中已安装过,检测版本为6.0,

安装5版本的ncurses,问题解决

为防止忘记记录一下

你可能感兴趣的:(码农杂记)