"undefined symbol" error message when importing frommatplotlib._path

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

undefined symbol:
>>> 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.