-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
hi, I am new to tvm. I was building tvm with llvm 6.0 or 7.0 targeting intel CPU and no error occurred in "make" cmd, my OS is centos7, but when I typed “import tvm”, error occurred:
Python 3.7.13
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
import tvm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/zxxx/tvm/python/tvm/__init__.py", line 26, in <module>
from ._ffi.base import TVMError, __version__, _RUNTIME_ONLY
File "/home/xxx/tvm/python/tvm/_ffi/__init__.py", line 28, in <module>
from .base import register_error
File "/home/xxx/tvm/python/tvm/_ffi/base.py", line 71, in <module>
_LIB, _LIB_NAME = _load_lib()
File "/home/xxx/tvm/python/tvm/_ffi/base.py", line 57, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)
File "/home/xxx/miniconda3/envs/xxx/lib/python3.7/ctypes/__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/xxx/tvm/build/libtvm.so: undefined symbol: _ZNKSt3__114error_category10equivalentERKNS_10error_codeEi
BTW, when I build tvm without llvm, the import is well. Did i use wrong llvm pre-built binary?I used * SuSE Linux Enterprise Server 11SP3 x86_64 (.sig)
Anybody can help me? Thanks for your time!
Reactions are currently unavailable