Export failed: Unknown error”VMware Workstation Export OVF/OVA feature requires libnsl to be installed on the system. The Export failure is due to a lack of libnsl.so on the system which prevents Ovftool from running. By default on the above mentioned Linux versions libnsl/other packages is not found in library _base.cpython-38-x86_64-linux-gnu.so. libnsl.so has been deprecated for years and was removed from RHEL 8 (and Fedora 27 ) in 2018.
Verify that ovftool binary is running or not using the below command
# /usr/bin/ovftool
If any error is seen, install the package as follows:
On Rhel# yum install <packageName>
On Fedora# dnf install <packageName>
On Suse Linux# zypper install <packageName>