"undefined symbol" error message when importing frommatplotlib._path

Frank Thommen <frank.thommen@...83...> writes:

undefined symbol:
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
>>> exit()

Hi Frank,

I ran into exactly the same error when I tried to install matplotlib from
source. It turned out that the problem in my case was caused by some
system library prebuilt with a different version of gcc -- switching back
from building matplotlib with gcc44 to gcc41 solved my problem. I didn't
check exactly which library is to blame, though.

Hope it helps.

-Yangle