OSError: libgomp.so.1: cannot open shared object file: No such file or directory

0

I'm deploying the open-source https://github.com/MincYu/gillis-open-source model on my aws lambda using aws sam-cli. This whole application consist of multiple functions, a master function and multiple worker functions. After deploying it on aws lambda getting this error when I'm trying to invoke the master function. Badly waiting for a solution for the following error.

[ERROR] OSError: libgomp.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/var/lang/lib/python3.8/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/var/lang/lib/python3.8/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 702, in _load
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/var/task/handler.py", line 10, in <module>
    import mxnet as mx
  File "/var/task/mxnet/__init__.py", line 24, in <module>
    from .context import Context, current_context, cpu, gpu, cpu_pinned
  File "/var/task/mxnet/context.py", line 24, in <module>
    from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
  File "/var/task/mxnet/base.py", line 213, in <module>
    _LIB = _load_lib()
  File "/var/task/mxnet/base.py", line 204, in _load_lib
    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
  File "/var/lang/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
[ERROR] OSError: libgomp.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last):   File "/var/lang/lib/python3.8/imp.py", line 234, in load_module     return load_source(name, filename, file)   File "/var/lang/lib/python3.8/imp.py", line 171, in load_source     module = _load(spec)   File "<frozen importlib._bootstrap>", line 702, in _load   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 843, in exec_module   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed   File "/var/task/handler.py", line 10, in <module>     import mxnet as mx   File "/var/task/mxnet/__init__.py", line 24, in <module>     from .context import Context, current_context, cpu, gpu, cpu_pinned   File "/var/task/mxnet/context.py", line 24, in <module>     from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass   File "/var/task/mxnet/base.py", line 213, in <module>     _LIB = _load_lib()   File "/var/task/mxnet/base.py", line 204, in _load_lib     lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)   File "/var/lang/lib/python3.8/ctypes/__init__.py", line 373, in __init__     self._handle = _dlopen(self._name, mode)
barik
asked 7 months ago118 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions