dlib.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE

Created on 3 Apr 2018  Â·  5Comments  Â·  Source: davisking/dlib

Expected Behavior

import dlib
ERROR:
ImportError: /home/xx/anaconda3/lib/python3.5/site-packages/dlib-19.10.0-py3.5-linux-x86_64.egg/dlib.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE

Current Behavior

Steps to Reproduce

  • Version:
    dlib-19.10
  • Installation method:
  • pip install dlib
    or
    2.reference install tutorial: http://dlib.net/compile.html
  • Platform:
    Ubuntu 16.04
    Anaconda3
  • Compiler:
    python3.5

Most helpful comment

@QuantumLiu
I encountered this problem again.
run: conda install libgcc
can solve this problem.

All 5 comments

That error isn't about dlib. It means something is terribly wrong with your compiler. I also use dlib on ubuntu all the time without issue. If you can post complete instructions to replicate this error on ubuntu I'll look into it. But you need to post what exactly someone types, starting from a standard ubuntu install.

Today,I reinstalled dlib on the system of Ubuntu 14.04 with python3.6 and it succeeded.
I think the Error may be related to python3.5。

I also got this problem on
ubuntu16,
ananconda3,
python3.5
cuda9.0
cudnn7

Fill out the issue template

@QuantumLiu
I encountered this problem again.
run: conda install libgcc
can solve this problem.

Was this page helpful?
0 / 5 - 0 ratings