The install of ovftool from VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle on Ubuntu 18.04 LTS fails. Please advise how to proceed.
root@ubuntu-qcore:/tmp# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
root@ubuntu-qcore:/tmp# ls -la VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle
-rw-r--r-- 1 user group 40439098 Apr 2 09:22 VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle
root@ubuntu-qcore:/tmp# sh VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle
Extracting VMware Installer...done.
/usr/lib/vmware-installer/3.0.0/vmis-launcher: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
root@ubuntu-qcore:/tmp# /usr/bin/ovftool --version
VMware ovftool 4.3.0 (build-13981069)
root@ubuntu-qcore:/tmp#
The "missing" library file is present on the system from the previous install of ovftool:
root@ubuntu-qcore:/tmp# find / -name libpython3.7m.so.1.0 -ls
1320180 3096 -rw-r--r-- 1 root root 3167376 Dec 20 15:24 /usr/lib/vmware-installer/3.0.0/python/libpython3.7m.so.1.0
root@ubuntu-qcore:/tmp#
I was able to successfully install on same version of Ubuntu. Perhaps the uninstallation was skipped? here are the steps I followed:
x@ubuntu:~/Downloads$ ovftool -v
VMware ovftool 4.3.0 (build-13981069)
x@ubuntu:~/Downloads$ sudo vmware-installer -u vmware-ovftool
x@ubuntu:~$ sudo sh ./Downloads/VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle
Extracting VMware Installer...done.
x@ubuntu:~$ ovftool -v
VMware ovftool 4.4.0 (build-15722219)
x@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
x@ubuntu:~$ uname -a
Linux ubuntu 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
you can put a link in /usr/lib64 like this
cd to where the libpython3.7m.so.1.0 is located, then type this
# ln -s libpython3.7m.so.1.0 /usr/lib64/libpython3.7m.so.1.0