InTime

How to fix “ImportError(libgomp.so.1: cannot open shared object file: No such file or directory)”?

2087 views January 14, 2021 June 4, 2021 pohheng 0

Symptom:

When running InTime in Linux, you encounter an error message containing:

“FAIL (<class 'ImportError'>, ImportError('libgomp.so.1: cannot open shared object file')”

or similar.

This may be due to the fact that the libgomp library is not installed / detected properly.

Resolution:

(Ubuntu) Install the libgomp1 library.

[user@host ~]# apt-get install libgomp1

(CentOS/RHEL) Install the libgomp library.

[user@host ~]# yum install libgomp

(SUSE) Install the libgomp1 library.

[user@host ~]# zypper install libgomp1

Applies to:

  • Linux Operating System (CentOS/RHEL/Ubuntu/SUSE 12)

Knowledge Base ID: 202008202 - Last Review: Jan 01 2021 - Revision: 1.0