Abra /var/log/vmware-installer
para ver o que causou esse erro. Como esse post tem mais de dois anos, mostrarei o que meu arquivo de log tinha para a mesma mensagem de falha:
[2016-11-15 15:16:41,995] ['/usr/lib/vmware-installer/2.1.0/vmware-installer.py', '--required', '--console', '--install-component=/root/.cache/vmware/cds/cdstmp_tools-netware_10.0.10_4638234/vmware-tools-netware-10.0.10-4301679.x86_64.component']
[2016-11-15 15:16:41,995] UI Initialization failed.
Traceback (most recent call last):
File "/usr/lib/vmware-installer/2.1.0/vmware-installer.py", line 293, in main
ui.Initialize(options.ui)
File "/usr/lib/vmware-installer/2.1.0/vmis/ui/__init__.py", line 83, in Initialize
exec 'from vmis.ui.null import *' in globals()
File "<string>", line 1, in <module>
File "/usr/lib/vmware-installer/2.1.0/vmis/ui/null.py", line 13, in <module>
from vmis.ui import console
File "/usr/lib/vmware-installer/2.1.0/vmis/ui/console.py", line 9, in <module>
import curses
File "/usr/lib/vmware-installer/2.1.0/python/lib/curses/__init__.py", line 15, in <module>
from _curses import *
ImportError: libncursesw.so.5: cannot open shared object file: No such file or directory
Como você pode ver, o instalador queria libncursesw.so.5
. Meus / usr / lib e / usr / lib64 tinham libncursesw.so.6
, mas não libncursesw.so.5
. Uma solução alternativa é um link simbólico:
cd /usr/lib; ln -s libncursesw.so.6 libncursesw.so.5
cd /usr/lib64; ln -s libncursesw.so.6 libncursesw.so.5