<@U054MQUPL>: this is a long shot, but: on centos6...
# development
w
@rough-minister-58256: this is a long shot, but: on centos6, i'm all the way through the build of the rust native code, but seeing a failure to import the resulting module to pants:
Copy code
Finished dev [unoptimized + debuginfo] target(s) in 162.43 secs
Exception caught: (<type 'exceptions.ImportError'>)
  File "/pants/src/python/pants/bin/pants_loader.py", line 73, in <module>
    main()
  File "/pants/src/python/pants/bin/pants_loader.py", line 69, in main
    PantsLoader.run()
  File "/pants/src/python/pants/bin/pants_loader.py", line 65, in run
    cls.load_and_execute(entrypoint)
  File "/pants/src/python/pants/bin/pants_loader.py", line 58, in load_and_execute
    entrypoint_main()
  File "/pants/src/python/pants/bin/pants_exe.py", line 26, in main
    PantsRunner(exiter).run()
  File "/pants/src/python/pants/bin/pants_runner.py", line 48, in run
    options_bootstrapper=options_bootstrapper).run()
  File "/pants/src/python/pants/bin/local_pants_runner.py", line 37, in run
    self._run()
  File "/pants/src/python/pants/bin/local_pants_runner.py", line 77, in _run
    self._exiter).setup()
  File "/pants/src/python/pants/bin/goal_runner.py", line 208, in setup
    goals, context = self._setup_context()
  File "/pants/src/python/pants/bin/goal_runner.py", line 180, in _setup_context
    self._global_options.subproject_roots,
  File "/pants/src/python/pants/bin/goal_runner.py", line 100, in _init_graph
    native.set_panic_handler()
  File "/pants/src/python/pants/engine/native.py", line 727, in set_panic_handler
    self.lib.set_panic_handler()
  File "/pants/src/python/pants/util/memo.py", line 101, in memoize
    result = func(*args, **kwargs)
  File "/pants/src/python/pants/engine/native.py", line 591, in lib
    return self.ffi.dlopen(self.binary)
  File "/pants/src/python/pants/util/memo.py", line 101, in memoize
    result = func(*args, **kwargs)
  File "/pants/src/python/pants/engine/native.py", line 596, in ffi
    ffi = getattr(self._ffi_module, 'ffi')
  File "/pants/src/python/pants/util/memo.py", line 101, in memoize
    result = func(*args, **kwargs)
  File "/pants/src/python/pants/engine/native.py", line 611, in _ffi_module
    return importlib.import_module(NATIVE_ENGINE_MODULE)
  File "/opt/rh/python27/root/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)

Exception message: /tmp/tmpQ3Pw9o/native_engine.so: undefined symbol: __gxx_personality_v0