Faldict opened a new issue #12142: Failed to import MXNet built with TensorRT URL: https://github.com/apache/incubator-mxnet/issues/12142 I pulled the latest source code from the master branch and built MXNet successfully with `USE_TENSORRT = 1`. But I failed to import mxnet: ``` python3 -E -v -c "import mxnet as mx" ``` Here is the error log: ``` Traceback (most recent call last): File "<string>", line 1, in <module> File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/faldict/incubator-mxnet/python/mxnet/__init__.py", line 24, in <module> from .context import Context, current_context, cpu, gpu, cpu_pinned File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/faldict/incubator-mxnet/python/mxnet/context.py", line 24, in <module> from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/faldict/incubator-mxnet/python/mxnet/base.py", line 217, in <module> _LIB = _load_lib() File "/home/faldict/incubator-mxnet/python/mxnet/base.py", line 208, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL) File "/usr/lib/python3.5/ctypes/__init__.py", line 347, in __init__ self._handle = _dlopen(self._name, mode) OSError: /home/faldict/incubator-mxnet/python/mxnet/../../lib/libmxnet.so: undefined symbol: _ZNK6google8protobuf7Message9SpaceUsedEv ``` I use protobuf 3.5.1. @mkolod Could you please take a look at this?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
